Universal binaries for macOS (#159)
A special format that contains both arm64 and amd64 executables in a single file
This commit is contained in:
parent
ab5b7bc086
commit
ef8b268d53
@ -20,6 +20,8 @@ archives:
|
|||||||
windows: Windows
|
windows: Windows
|
||||||
386: i386
|
386: i386
|
||||||
amd64: x86_64
|
amd64: x86_64
|
||||||
|
universal_binaries:
|
||||||
|
- replace: false
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
@ -26,3 +26,11 @@ Then:
|
|||||||
```bash
|
```bash
|
||||||
GITHUB_TOKEN=xxx goreleaser --rm-dist
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user