We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91d7818 commit 4b718d4Copy full SHA for 4b718d4
.goreleaser.yaml
@@ -11,13 +11,7 @@ builds:
11
archives:
12
- format: tar.gz
13
# this name template makes the OS and Arch compatible with the results of uname.
14
- name_template: >-
15
- {{ .ProjectName }}-
16
- {{ .Os }}-
17
- {{- if eq .Arch "amd64" }}x86_64
18
- {{- else if eq .Arch "386" }}i386
19
- {{- else }}{{ .Arch }}{{ end }}
20
- {{- if .Arm }}v{{ .Arm }}{{ end }}
+ name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
21
# use zip for windows archives
22
format_overrides:
23
- goos: windows
0 commit comments