diff --git a/.goreleaser.yml b/.goreleaser.yml index adb3733..c9fb5cf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,10 +24,15 @@ builds: - goos: freebsd goarch: arm64 archives: - - - replacements: - 386: i386 - amd64: x86_64 + - + name_template: >- + {{ .ProjectName }}_ + {{ .Version }}_ + {{ .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end }} format_overrides: - goos: windows format: zip