mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: log when no artifacts match for signing
This commit is contained in:
parent
cbca47dcad
commit
30fc74df24
@ -128,6 +128,10 @@ func (Pipe) Run(ctx *context.Context) error {
|
||||
}
|
||||
|
||||
func sign(ctx *context.Context, cfg config.Sign, artifacts []*artifact.Artifact) error {
|
||||
if len(artifacts) == 0 {
|
||||
log.Warn("no artifacts matching the given filters found")
|
||||
return nil
|
||||
}
|
||||
for _, a := range artifacts {
|
||||
if err := a.Refresh(); err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user