From bef82f5f84b5e3b3613f67e3636e2adf236aac7b Mon Sep 17 00:00:00 2001 From: Daniel Loreto <279789+loreto@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:28:36 -0500 Subject: [PATCH] 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. --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index dd38c6a..5d8ac7d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -31,7 +31,7 @@ builds: archives: - files: - no-files-will-match-* # Glob that does not match to create archive with only binaries. - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}" checksum: name_template: "checksums.txt"