You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes the following deprecation warnings:
```
• DEPRECATED: archives.format should not be used anymore, check https://goreleaser.com/deprecations#archivesformat for more info
• DEPRECATED: archives.format_overrides.format should not be used anymore, check https://goreleaser.com/deprecations#archivesformat_overridesformat for more info
• DEPRECATED: nfpms.builds should not be used anymore, check https://goreleaser.com/deprecations#nfpmsbuilds for more info
```
1. **Fixed `archives.format`**: Changed from `format: tar.gz` to
`formats: [tar.gz]` (array format)
2. **Fixed `archives.format_overrides.format`**: Changed from `format:
zip` to `formats: [zip]` (array format)
3. **Fixed `nfpms.builds`**: Changed from `builds: - overmind` to `ids:
- overmind` to match the nomenclature used elsewhere in GoReleaser
All changes follow the official GoReleaser deprecation documentation:
- `archives.format` and `archives.format_overrides.format` were
deprecated since v2.6 in favor of `formats` (which accepts arrays)
- `nfpms.builds` was deprecated since v2.8 in favor of `ids` to maintain
consistency across the configuration
These changes ensure the GoReleaser configuration is up-to-date and
won't produce deprecation warnings anymore.
GitOrigin-RevId: 7db7d30ec4522a1a48c152bd033ae8b98b7b2d72
0 commit comments