Skip to content

Commit

Permalink
Use renamed property for snapshot name
Browse files Browse the repository at this point in the history
`snapshot.name_template` has been replaced by
`snapshot.version_template` as of GoReleaser 2.2
(https://goreleaser.com/deprecations/#snapshotname_template).
  • Loading branch information
hansmi committed Oct 14, 2024
1 parent 2eef009 commit e72f647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ release:
prerelease: auto

snapshot:
name_template: '{{ incpatch .Version }}-snapshot{{ replace (replace .Date ":" "") "-" "" }}+g{{ .ShortCommit }}'
version_template: '{{ incpatch .Version }}-snapshot{{ replace (replace .Date ":" "") "-" "" }}+g{{ .ShortCommit }}'

# vim: set sw=2 sts=2 et :

0 comments on commit e72f647

Please sign in to comment.