From f980ce74d9b8a6c1bc6221c438bb3df3337640ae Mon Sep 17 00:00:00 2001 From: Christian Gregg Date: Fri, 5 Apr 2024 17:01:03 +0100 Subject: [PATCH] Update goreleaser.yml --- .goreleaser.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c8851ab3..46f2499b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,11 +11,14 @@ builds: - linux - darwin archives: - - replacements: - darwin: Darwin - linux: Linux - 386: i386 - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_{{ .Version }}_ + {{- if eq .Os "darwin" }}Darwin + {{- else if eq .Os "linux" }}Linux + {{- else }}{{ .Os }}{{ end }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} checksum: name_template: 'checksums.txt' snapshot: