Skip to content

Commit

Permalink
Add v prefix to .tar.gz file names
Browse files Browse the repository at this point in the history
  • Loading branch information
ianconsolata committed Dec 14, 2022
1 parent 9720ce6 commit 93d12e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ archives:
- id: primary
format: tar.gz
wrap_in_directory: true
name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
# this is a dumb but required hack so it doesn't include the default files
# https://github.com/goreleaser/goreleaser/issues/602
Expand Down Expand Up @@ -105,4 +106,4 @@ checksum:
disable: true

snapshot:
name_template: "{{ .Tag }}"
name_template: "{{ .Version }}"

0 comments on commit 93d12e1

Please sign in to comment.