mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: only log skips if something is actually being skipped
This commit is contained in:
parent
e194d4cfca
commit
41c21dc38f
@ -240,9 +240,11 @@ func setupReleaseContext(ctx *context.Context, options releaseOpts) error {
|
||||
skips.Set(ctx, skips.Announce)
|
||||
}
|
||||
|
||||
log.Warnf(
|
||||
logext.Warning("skipping %s..."),
|
||||
skips.String(ctx),
|
||||
)
|
||||
if skips.Any(ctx, skips.Release...) {
|
||||
log.Warnf(
|
||||
logext.Warning("skipping %s..."),
|
||||
skips.String(ctx),
|
||||
)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user