Skip to content

Commit c8c888a

Browse files
committed
Generate Universal binary for OSX
Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent 2e57f1f commit c8c888a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.goreleaser.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ builds:
1111
- windows
1212
goarch:
1313
- amd64
14+
- arm64
1415
archives:
1516
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
1617
replacements:
@@ -89,3 +90,17 @@ nfpms:
8990
darwin: macOS
9091
linux: Linux
9192
windows: Windows
93+
universal_binaries:
94+
- replace: true
95+
96+
changelog:
97+
sort: asc
98+
use: github
99+
filters:
100+
exclude:
101+
- '^docs:'
102+
- '^test:'
103+
- Merge pull request
104+
- Merge branch
105+
- go mod tidy
106+

0 commit comments

Comments
 (0)