Skip to content

Commit 4b718d4

Browse files
authored
Update .goreleaser.yaml
1 parent 91d7818 commit 4b718d4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.goreleaser.yaml

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@ builds:
1111
archives:
1212
- format: tar.gz
1313
# 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 }}
14+
name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
2115
# use zip for windows archives
2216
format_overrides:
2317
- goos: windows

0 commit comments

Comments
 (0)