Skip to content

Commit 2121164

Browse files
committed
update
1 parent 147945b commit 2121164

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.goreleaser.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ builds:
2727
- goos: windows
2828
goarch: "arm64"
2929
archives:
30-
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
31-
replacements:
32-
darwin: darwin
33-
linux: linux
34-
windows: windows
35-
386: i386
36-
amd64: x86_64
30+
- name_template: >-
31+
{{ .ProjectName }}_
32+
{{- title .Os }}_
33+
{{- if eq .Arch "amd64" }}x86_64
34+
{{- else if eq .Arch "386" }}i386
35+
{{- else }}{{ .Arch }}{{ end }}
3736
format_overrides:
3837
- goos: windows
3938
format: zip

0 commit comments

Comments
 (0)