Skip to content

Commit

Permalink
fix: print release url after publishing it
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Sep 14, 2022
1 parent f7efe9c commit 6a183e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/pipe/release/release.go
Expand Up @@ -96,7 +96,11 @@ func (Pipe) Publish(ctx *context.Context) error {
if err != nil {
return err
}
return doPublish(ctx, c)
if err := doPublish(ctx, c); err != nil {
return err
}
log.WithField("url", ctx.ReleaseURL).Info("published")
return nil
}

func doPublish(ctx *context.Context, client client.Client) error {
Expand Down

0 comments on commit 6a183e9

Please sign in to comment.