From: Bjørn Erik Pedersen Date: Wed, 3 Aug 2022 15:32:47 +0000 (+0200) Subject: releaser: Fat MacOS binaries X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7fb28085a;p=brevno-suite%2Fhugo releaser: Fat MacOS binaries Closes #9131 --- diff --git a/goreleaser.yml b/goreleaser.yml index 0d1389b6a..d2cd273ce 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -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 @@ -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 @@ -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"