From 0c14b976aa02b22f6f8d0288a9117616950a69fc Mon Sep 17 00:00:00 2001 From: Umputun Date: Tue, 3 Dec 2024 00:40:08 -0600 Subject: [PATCH] Update archive naming for macOS compatibility The archive name template has been adjusted to label builds for Darwin as 'macos' instead of 'darwin'. --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d4550803..17522ecb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -21,7 +21,7 @@ builds: ldflags: "-s -w -X main.revision={{.Tag}}-{{.ShortCommit}}-{{.CommitDate}}" archives: - - name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}" + - name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ if eq .Os \"darwin\" }}macos{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}" format_overrides: - goos: windows format: zip