Skip to content

Commit

Permalink
Release fat universal macOS binaries binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
wormi4ok committed Dec 10, 2023
1 parent bb35778 commit 2fd3e57
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ builds:
goarch:
- amd64
- arm64
ignore:
- goos: android
goarch: amd64
env:
- CGO_ENABLED=0
universal_binaries:
- replace: true
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}MacOS{{ else }}{{ title .Os }}{{ end }}_{{ if eq .Arch "amd64" }}64-bit{{ end }}{{ if eq .Arch "arm64" }}{{ if eq .Os "darwin" }}M1{{ else }}arm64{{ end }}{{ end }}'
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}MacOS{{ else }}{{ title .Os }}_{{ .Arch }}{{ end }}'
format_overrides:
- goos: windows
format: zip
wrap_in_directory: false
rlcp: true
files:
- none*
release:
Expand Down

0 comments on commit 2fd3e57

Please sign in to comment.