Skip to content

chore: use ids instead of builds and remove unused format_overrides in goreleaser archives#2638

Open
nikpivkin wants to merge 1 commit intoaquasecurity:mainfrom
nikpivkin:goreleaser-cfg
Open

chore: use ids instead of builds and remove unused format_overrides in goreleaser archives#2638
nikpivkin wants to merge 1 commit intoaquasecurity:mainfrom
nikpivkin:goreleaser-cfg

Conversation

@nikpivkin
Copy link
Contributor

Description

Update goreleaser-e2e.yaml to fix archives section:

Before:

❯ goreleaser check goreleaser-e2e.yaml
  • checking                                 path=goreleaser-e2e.yaml
  • DEPRECATED:  archives.format_overrides.format  should not be used anymore, check https://goreleaser.com/deprecations#archivesformat_overridesformat for more info
  • DEPRECATED:  archives.builds  should not be used anymore, check https://goreleaser.com/deprecations#archivesbuilds for more info
  • goreleaser-e2e.yaml                              error=configuration is valid, but uses deprecated properties
  ⨯ command failed                                   error=1 out of 1 configuration file(s) have issues

After:

❯ goreleaser check goreleaser-e2e.yaml
  • checking                                 path=goreleaser-e2e.yaml
  • 1 configuration file(s) validated
  • thanks for using GoReleaser!

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

…n goreleaser archives

Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
@nikpivkin nikpivkin requested a review from simar7 as a code owner July 2, 2025 19:33
@github-actions github-actions bot added the misc label Jul 2, 2025
@nikpivkin
Copy link
Contributor Author

Apparently the problem is that CI uses a different version of goreleaser

@simar7
Copy link
Member

simar7 commented Jul 11, 2025

Apparently the problem is that CI uses a different version of goreleaser

Should we update that then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants