Skip to content

Commit ddd1cf3

Browse files
authored
chore(goreleaser): remove archives replacements
1 parent 0250ee9 commit ddd1cf3

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/goreleaser.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ builds:
2727

2828
archives:
2929
-
30-
replacements:
31-
darwin: Darwin
32-
linux: Linux
33-
windows: Windows
34-
386: i386
35-
amd64: x86_64
30+
format: zip
31+
name_template: >-
32+
{{ .ProjectName }}_
33+
{{- title .Os }}_
34+
{{- if eq .Arch "amd64" }}x86_64
35+
{{- else if eq .Arch "386" }}i386
36+
{{- else }}{{ .Arch }}{{ end }}
3637
3738
checksum:
3839
name_template: 'checksums.txt'

0 commit comments

Comments
 (0)