Skip to content

Update GoRleaser configuration to v2 #3734

@tenthirtyam

Description

@tenthirtyam
  • 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 a GO_VERSION arg to the Dockerfile.* to to ease to maintenance.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions