From d19022dad8e3d87bd10df82a767ce02c876b48e2 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Thu, 11 Jul 2024 17:54:33 +0200 Subject: [PATCH] fix: :bug: append newline after success message, use logger [CI SKIP] --- plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugin.go b/plugin/plugin.go index 6de7ed8..5cb5689 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -172,7 +172,7 @@ func Exec(ctx context.Context, args Args) error { } releaseURL := fmt.Sprintf("%s/%s/%s/releases/tag/%s", args.GiteaUrl, args.Owner, args.Repo, release.TagName) - fmt.Printf("Successfully created release at %s", releaseURL) + log.WithField("url", releaseURL).Info("Successfully created release") writeCard( args.Pipeline.Card.Path,