releaser: Fat MacOS binaries

Fixes #9035
This commit is contained in:
Bjørn Erik Pedersen 2021-10-30 10:07:27 +02:00
parent 0f248606d5
commit 3a977485eb
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,6 @@
defaults: &defaults defaults: &defaults
docker: docker:
- image: bepsays/ci-goreleaser:1.17.2 - image: bepsays/ci-goreleaser:1.1700.200
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"

View file

@ -147,7 +147,15 @@ archives:
files: files:
- README.md - README.md
- LICENSE - LICENSE
universal_binaries:
-
id: 'hugo'
name_template: 'hugo'
replace: true
-
id: 'hugo_extended_darwin'
name_template: 'hugo'
replace: true
nfpms: nfpms:
- -
id: "hugo" id: "hugo"