Skip to content

Update deprecated name_template goreleaser keys #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

adammohammed
Copy link
Contributor

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.

@adammohammed adammohammed requested a review from a team as a code owner December 9, 2024 18:11
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.

Signed-off-by: Adam Mohammed <[email protected]>
@adammohammed adammohammed force-pushed the update-name_template-keys branch from fcb0ac9 to 6264999 Compare December 9, 2024 18:15
@nicolerenee nicolerenee merged commit 0d857ec into infratographer:main Apr 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants