@@ -2,6 +2,22 @@ project: hugo
22
33# Common definitions.
44definitions :
5+ archive_type_macos : &archive_type_macos
6+ extra_files : []
7+ type :
8+ format : _plugin
9+ extension : .pkg
10+ plugin :
11+ id : macospkgremote
12+ type : gorun
13+ command : github.com/gohugoio/hugoreleaser-archive-plugins/macospkgremote@latest
14+ custom_settings :
15+ package_identifier : io.gohugo.hugo
16+ package_version : ${HUGORELEASER_TAG}
17+ bucket : s3fptest
18+ queue : https://sqs.eu-north-1.amazonaws.com/656975317043/s3fptest_client
19+ access_key_id : ${S3RPC_CLIENT_ACCESS_KEY_ID}
20+ secret_access_key : ${S3RPC_CLIENT_SECRET_ACCESS_KEY}
521 archive_type_zip : &archive_type_zip
622 type :
723 format : zip
@@ -94,9 +110,6 @@ release_settings:
94110builds :
95111 - path : container1/unix/regular
96112 os :
97- - goos : darwin
98- archs :
99- - goarch : universal
100113 - goos : linux
101114 archs :
102115 - goarch : amd64
@@ -131,11 +144,6 @@ builds:
131144 env :
132145 - CGO_ENABLED=1
133146 os :
134- - goos : darwin
135- build_settings :
136- env : *env_extended_darwin
137- archs :
138- - goarch : universal
139147 - goos : linux
140148 archs :
141149 - goarch : amd64
@@ -149,11 +157,6 @@ builds:
149157 env :
150158 - CGO_ENABLED=1
151159 os :
152- - goos : darwin
153- build_settings :
154- env : *env_extended_darwin
155- archs :
156- - goarch : universal
157160 - goos : linux
158161 archs :
159162 - goarch : amd64
@@ -183,6 +186,35 @@ builds:
183186 env : *env_extended_linux
184187 archs :
185188 - goarch : arm64
189+ - path : container1/macos/regular
190+ os :
191+ - goos : darwin
192+ archs :
193+ - goarch : universal
194+ - path : container1/macos/extended
195+ build_settings :
196+ flags :
197+ - -buildmode
198+ - exe
199+ - -tags
200+ - extended
201+ env : *env_extended_darwin
202+ os :
203+ - goos : darwin
204+ archs :
205+ - goarch : universal
206+ - path : container1/macos/extended-withdeploy
207+ build_settings :
208+ flags :
209+ - -buildmode
210+ - exe
211+ - -tags
212+ - extended,withdeploy
213+ env : *env_extended_darwin
214+ os :
215+ - goos : darwin
216+ archs :
217+ - goarch : universal
186218 - path : container1/windows/regular
187219 os :
188220 - goos : windows
@@ -240,6 +272,19 @@ archives:
240272 - builds/container2/*/extended-withdeploy/**
241273 archive_settings :
242274 name_template : *name_template_extended_withdeploy
275+ - paths :
276+ - builds/**/macos/regular/**
277+ archive_settings : *archive_type_macos
278+ - paths :
279+ - builds/**/macos/extended/**
280+ archive_settings :
281+ name_template : *name_template_extended
282+ << : *archive_type_macos
283+ - paths :
284+ - builds/**/macos/extended-withdeploy/**
285+ archive_settings :
286+ name_template : *name_template_extended_withdeploy
287+ << : *archive_type_macos
243288 - paths :
244289 - builds/**/windows/regular/**
245290 archive_settings : *archive_type_zip
0 commit comments