Universal binaries for macOS (#159)

A special format that contains both arm64 and amd64 executables in a single file
This commit is contained in:
Suhas Karanth 2021-11-14 16:39:42 +05:30 committed by GitHub
parent ab5b7bc086
commit ef8b268d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,8 @@ archives:
windows: Windows
386: i386
amd64: x86_64
universal_binaries:
- replace: false
checksum:
name_template: 'checksums.txt'
snapshot:

View File

@ -26,3 +26,11 @@ Then:
```bash
GITHUB_TOKEN=xxx goreleaser --rm-dist
```
## Testing
To test and verify changes to Go Releaser config, use the following:
```bash
goreleaser --snapshot --skip-publish --rm-dist
```