diff --git a/.goreleaser.yml b/.goreleaser.yml index 84fd03d..c97ac3f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,10 +6,15 @@ builds: goarch: - amd64 archives: - - replacements: - amd64: 64-bit - 386: 32-bit - darwin: macos + - id: default + name_template: >- + {{- .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else if eq .Arch "darwin" }}macos + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} format_overrides: - goos: windows format: zip