mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-13 11:50:34 +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:
parent
e1a33dc26d
commit
6f356ffcfa
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user