Skip to content

Commit 3bd7968

Browse files
committed
rename releases
1 parent be5d22e commit 3bd7968

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.goreleaser.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ archives:
3636
- name_template: >-
3737
{{- .ProjectName }}-
3838
{{- .Tag }}-
39-
{{- .Os }}-
40-
{{- .Arch }}
39+
{{- if eq .Os "darwin" }}macos
40+
{{- else }}{{ .Os }}{{ end }}-
41+
{{- if eq .Arch "amd64" }}x86_64
42+
{{- else if eq .Arch "386" }}i386
43+
{{- else }}{{ .Arch }}{{ end }}
4144
{{- if .Arm }}{{ .Arm }}{{ end }}
4245
wrap_in_directory: true
4346
format: tar.gz

0 commit comments

Comments
 (0)