diff options
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r-- | .goreleaser.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml index aeaf84c..ecef60f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,12 +15,13 @@ builds: - windows - darwin archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: >- + {{- .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} checksum: name_template: 'checksums.txt' snapshot: |