mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
Revert "fix(blobs): do not upload artifacts if ids is set to empty (#4921)"
This reverts commit 5d7631f713fc339422bdd5232e2e45feb2d23b50. This commit would actually be a breaking change, so let's revert it.
This commit is contained in:
parent
6c31ca556f
commit
618496b940
@ -111,7 +111,7 @@ func doUpload(ctx *context.Context, conf config.Blob) error {
|
||||
}
|
||||
|
||||
filter := artifact.Or(byTypes...)
|
||||
if conf.IDs != nil {
|
||||
if len(conf.IDs) > 0 {
|
||||
filter = artifact.And(filter, artifact.ByIDs(conf.IDs...))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user