From a1b73a7d81108cea33c1d6e55ae7f7d9de1cd632 Mon Sep 17 00:00:00 2001 From: Rob Galanakis Date: Wed, 19 Jul 2023 11:10:16 -0700 Subject: [PATCH] Fix goreleaser name template --- .goreleaser.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2b6dc82..7d99a5b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -27,11 +27,11 @@ archives: files: - match-nothing-to-keep-archive-binary-only* name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ + {{ .ProjectName }}_{{ .Version }}_ + {{- if eq .Os "darwin" }}macos + {{- else }}{{ .Os }}{{ end }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 - {{- else if eq .Arch "darwin" }}macos {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows