You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
fix: do not log release published if it is a draft (#4691)
it's a bit scary --------- Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
@@ -106,7 +106,7 @@ func (Pipe) Publish(ctx *context.Context) error {
|
||||
if err := doPublish(ctx, c); err != nil {
|
||||
return err
|
||||
}
|
||||
log.WithField("url", ctx.ReleaseURL).Info("published")
|
||||
log.WithField("url", ctx.ReleaseURL).WithField("published", !ctx.Config.Release.Draft).Info("release created/updated")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user