-
-
Notifications
You must be signed in to change notification settings - Fork 910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nfpm extensions not being set #3933
Comments
ah yeah, your assessment is right... not sure if it got broken after some merge or what, but I think it was there at some point... Anyway, thanks for reporting, will fix soon. |
Add extension to produced artifacts so that they can be filtered in later steps Fixes goreleaser#3933
See #3940 which I think should fix this |
Thank you @mbamber ! |
Add extension to produced artifacts so that they can be filtered in later steps Fixes goreleaser#3933 Co-authored-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Add extension to produced artifacts so that they can be filtered in later steps Fixes #3933 Co-authored-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Hi, I spend some time trying to understand why my uploading task didn't work, and found it's related to Cheers, |
Hey, probably next week, or earlier next month |
I thought this was already out? I'm sure I'm using it 😅 See https://github.com/goreleaser/goreleaser/releases/tag/v1.17.1 |
Ah, I have wrongly checked the history, thanks ! |
What happened?
When trying to upload artifacts to Artifactory with an
exts
filter, the artifacts generated by nfpm are not being selected as the docs might suggest:How can we reproduce this?
Example config snippet
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
After a quick look at the source, I believe this an issue with the filtering. In particular, I think the
Ext
extra property isn't being set for artifacts generated by nfpm:goreleaser/internal/pipe/nfpm/nfpm.go
Line 442 in b36e30a
The attribute is set correctly for artifacts built directly:
goreleaser/internal/builders/golang/build.go
Line 149 in b36e30a
The text was updated successfully, but these errors were encountered: