Skip to content
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

fix: sbom binary filter #2798

Merged
merged 1 commit into from Dec 30, 2021
Merged

fix: sbom binary filter #2798

merged 1 commit into from Dec 30, 2021

Conversation

cpanato
Copy link
Contributor

@cpanato cpanato commented Dec 30, 2021

When using the sbom config with binary artifact it was generating a duplicate list of binaries to generate the sbom and that generate the artifacts.json with duplicate entries and that will fail in the release step when trying to upload the files to the GitHub, for example, it tries to push duplicate files and that fail in the GitHub side.

applying this change the list is correct.

@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 30, 2021
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
@cpanato cpanato changed the title fix sbom binary filter fix: sbom binary filter Dec 30, 2021
@caarlos0
Copy link
Member

Good catch! Thanks!

@cpanato
Copy link
Contributor Author

cpanato commented Dec 30, 2021

cc @caarlos0

@caarlos0 caarlos0 merged commit cbdf8ca into goreleaser:main Dec 30, 2021
@github-actions github-actions bot added this to the v1.3.0 milestone Dec 30, 2021
@cpanato cpanato deleted the fix-sbom branch December 30, 2021 12:44
caarlos0 added a commit that referenced this pull request Dec 30, 2021
refs #2798

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants