1
0
mirror of https://github.com/umputun/reproxy.git synced 2025-09-16 08:46:17 +02:00

Update archive naming for macOS compatibility

The archive name template has been adjusted to label builds for Darwin as 'macos' instead of 'darwin'.
This commit is contained in:
Umputun
2024-12-03 00:40:08 -06:00
parent 92bd22877b
commit 0c14b976aa

View File

@@ -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