diff --git a/.goreleaser.yml b/.goreleaser.yml index 5c0c8890..001ad2cd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,13 +6,16 @@ checksum: name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt" archives: - id: archive - name_template: '{{ .Binary }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}' + name_template: >- + {{- .Binary }}- + {{- .Tag }}- + {{- .Os }}- + {{- if eq .Arch "amd64" }}x64 + {{- else }}{{ .Arch }}{{ end }} wrap_in_directory: esc{{ if eq .Os "windows" }}/bin{{ end }} format_overrides: - goos: windows format: zip - replacements: - amd64: x64 files: # OS specific scripts, not compiled - src: bin/{{ .Os }}/*