Skip to content

Commit bef82f5

Browse files
authored
Use .Tag instead of .Version in goreleaser (#40)
We used to use `.Version` in the goreleaser template, but that strips `v` from the version in the cases we want to use that. Switch to `.Tag` which leaves it intact.
1 parent 2941332 commit bef82f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ builds:
3131
archives:
3232
- files:
3333
- no-files-will-match-* # Glob that does not match to create archive with only binaries.
34-
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
34+
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
3535

3636
checksum:
3737
name_template: "checksums.txt"

0 commit comments

Comments
 (0)