From 67c66cefa5a34a3514f51e91e1c68fba67e4642b Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Sun, 14 Apr 2024 17:22:47 +1200 Subject: [PATCH] ci: fix goreleaser yaml --- .goreleaser.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6aba0f0..7ba79de 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,7 +17,7 @@ builds: - linux ignore: - goos: darwin - goarch: 386 + goarch: "386" - id: seqinfo main: ./cmd/seqinfo/ @@ -29,16 +29,19 @@ builds: - linux ignore: - goos: darwin - goarch: 386 + goarch: "386" archives: - id: default wrap_in_directory: true - replacements: - 386: 32-bit - amd64: 64-bit - darwin: osx + name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}64-bit + {{- else if eq .Arch "386" }}32-bit + {{- else if eq .Arch "darwin" }}osx + {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows format: zip