Skip to content

Commit

Permalink
Update deprecated goreleaser keys
Browse files Browse the repository at this point in the history
We're currently using go-releaser v2.4.8-pro and the latest
iam-runtime-infratographer builds have had the following log messages:

```
  • setting defaults
    • DEPRECATED:  snapshot.name_template  should not be used anymore, check https://goreleaser.com/deprecations#snapshotnametemplate for more info
    • DEPRECATED:  nightly.name_template  should not be used anymore, check https://goreleaser.com/deprecations#nightlynametemplate for more info
```

Both of these keys were renamed to `version_template` in v2, this PR
just updates them so we are using the latest configuration keys.
  • Loading branch information
adammohammed committed Dec 9, 2024
1 parent d230349 commit fcb0ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goreleaser/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"

changelog:
disable: false
Expand Down Expand Up @@ -99,7 +99,7 @@ release:
- glob: ./schema.graphql

nightly:
name_template: main-latest
version_template: main-latest
tag_name: main-latest
publish_release: false
keep_single_release: true

0 comments on commit fcb0ac9

Please sign in to comment.