diff --git a/.goreleaser.yaml b/.goreleaser.yaml index dff5c1f..a04e041 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -41,13 +41,12 @@ builds: mod_timestamp: "{{ .CommitTimestamp }}" archives: - - name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" - replacements: - 386: i386 - amd64: x86_64 - darwin: Darwin - linux: Linux - windows: Windows + - name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} checksum: name_template: "checksums.txt"