From a7806a21fc4d5f7cc741edca8e63404fb4103836 Mon Sep 17 00:00:00 2001 From: Sirish Bathina Date: Tue, 25 Jul 2023 08:41:53 -1000 Subject: [PATCH] Update .goreleaser.yml (#162) --- .goreleaser.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ece5343..9184e4f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,10 +17,14 @@ builds: - arm64 archives: - - replacements: - darwin: MacOS - linux: Linux - windows: Windows + - name_template: >- + {{ .ProjectName }}_ + {{- .Version }}_ + {{- if eq .Os "darwin" }}MacOS + {{- else if eq .Os "linux" }}Linux + {{- else if eq .Os "windows" }}Windows + {{- else }}{{ .Os }}{{ end }}_ + {{- .Arch }} checksum: name_template: 'checksums.txt' snapshot: