mirror of
https://github.com/jimeh/casecmp.git
synced 2026-02-19 02:16:40 +00:00
build: produce a universal binary (amd64+arm64) for macOS
This commit is contained in:
@@ -23,14 +23,19 @@ builds:
|
||||
- "6"
|
||||
- "7"
|
||||
|
||||
universal_binaries:
|
||||
- replace: false
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
name_template: |-
|
||||
{{ .ProjectName }}-{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}
|
||||
{{ .ProjectName }}-{{ .Version }}_{{ .Os }}_{{ if eq .Arch "all" }}universal{{ else }}{{ .Arch }}{{ end }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
|
||||
wrap_in_directory: true
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
replacements:
|
||||
darwin: macos
|
||||
|
||||
checksum:
|
||||
name_template: "checksums.txt"
|
||||
|
||||
Reference in New Issue
Block a user