Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: print release url after publishing it (#3374)
very small improvement, but useful nevertheless

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Sep 14, 2022
1 parent a8403f2 commit 707747d
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 707747d

Please sign in to comment.