Skip to content

Commit

Permalink
Update archive naming for macOS compatibility
Browse files Browse the repository at this point in the history
The archive name template has been adjusted to label builds for Darwin as 'macos' instead of 'darwin'.
  • Loading branch information
umputun committed Dec 3, 2024
1 parent 92bd228 commit 0c14b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c14b97

Please sign in to comment.