Skip to content

Commit

Permalink
Universal binaries for macOS (#159)
Browse files Browse the repository at this point in the history
A special format that contains both arm64 and amd64 executables in a single file
  • Loading branch information
sudo-suhas committed Nov 14, 2021
1 parent ab5b7bc commit ef8b268
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ archives:
windows: Windows
386: i386
amd64: x86_64
universal_binaries:
- replace: false
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
8 changes: 8 additions & 0 deletions releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit ef8b268

Please sign in to comment.