Skip to content

Commit

Permalink
releaser: Fat MacOS binaries
Browse files Browse the repository at this point in the history
Closes #9131
  • Loading branch information
bep committed Aug 3, 2022
1 parent 0cd1929 commit 7fb2808
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions goreleaser.yml
Expand Up @@ -103,7 +103,7 @@ release:
archives:
-
id: "hugo"
builds: ['hugo', 'hugo_unix']
builds: ['hugo', 'hugo_unix', 'hugo_fat_darwin']
format: tar.gz
format_overrides:
- goos: windows
Expand All @@ -126,7 +126,7 @@ archives:
- LICENSE
-
id: "hugo_extended"
builds: ['hugo_extended_windows', 'hugo_extended_linux', 'hugo_extended_darwin']
builds: ['hugo_extended_windows', 'hugo_extended_linux', 'hugo_extended_fat_darwin']
format: tar.gz
format_overrides:
- goos: windows
Expand All @@ -148,6 +148,23 @@ archives:
- README.md
- LICENSE

universal_binaries:
-
id: hugo_fat_darwin

ids:
- hugo

replace: true

-
id: hugo_extended_fat_darwin

ids:
- hugo_extended_darwin

replace: true

nfpms:
-
id: "hugo"
Expand Down

0 comments on commit 7fb2808

Please sign in to comment.