diff --git a/.goreleaser.yml b/.goreleaser.yml index e138c79..6412593 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -62,11 +62,7 @@ archives: - id: archive_multi builds: [dynamic] name_template: >- - {{ .ProjectName }}_{{ .Version }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} + {{ .ProjectName }}-{{ .Version }}.{{ .Os }}-{{ .Arch }} {{- if .Arm }}v{{ .Arm }}{{ end }} format: tar.gz format_overrides: @@ -79,8 +75,8 @@ archives: - id: archive_static builds: [static] name_template: >- - {{ .ProjectName }}_static_{{ .Version }}_ - {{- title .Os }}_ + {{ .ProjectName }}_static-{{ .Version }}. + {{- .Os }}- {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }}