Description
- Update the
.goreleaser.yml
configuration to v2 and address deprecations.
➜ goreleaser check .goreleaser.yml
• only version: 2 configuration files are supported, yours is version: 0 , please update your configuration
⨯ command failed error=only version: 2 configuration files are supported, yours is version: 0 , please update your configuration
➜ goreleaser check .goreleaser.yml
• checking path=.goreleaser.yml
• DEPRECATED: snapshot.name_template should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info
• 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
• DEPRECATED: nfpms.builds should not be used anymore, check https://goreleaser.com/deprecations#nfpmsbuilds for more info
• .goreleaser.yml error=configuration is valid, but uses deprecated properties
⨯ command failed error=1 out of 1 configuration file(s) have issues
- Update the
.goreleaser.yml
pass aGO_VERSION
arg to theDockerfile.*
to to ease to maintenance.