From 35c36d620fc35d3a5b879c4cd14437b0ecc3975d Mon Sep 17 00:00:00 2001 From: Sahel Jalal Date: Sat, 25 Feb 2023 01:15:45 -0800 Subject: [PATCH] chore: update goreleaser config --- .goreleaser.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 119b631..c1012c4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,12 +9,12 @@ builds: - env: - CGO_ENABLED=0 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 }} checksum: name_template: 'checksums.txt' snapshot: