1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-31 01:53:50 +02:00

Revert "fix(blobs): do not upload artifacts if ids is set to empty (#4921)"

This reverts commit 5d7631f713.

This commit would actually be a breaking change, so let's revert it.
This commit is contained in:
Carlos Alexandro Becker 2024-06-09 20:01:16 -03:00
parent 6c31ca556f
commit 618496b940
No known key found for this signature in database

View File

@ -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...))
}