@@ -81,14 +81,17 @@ project = "hugoreleaser"
81
81
path = " unix"
82
82
83
83
[[builds .os ]]
84
- goos = " darwin "
84
+ goos = " linux "
85
85
[[builds .os .archs ]]
86
- goarch = " universal"
86
+ goarch = " amd64"
87
+
88
+ [[builds ]]
89
+ path = " macos"
87
90
88
91
[[builds .os ]]
89
- goos = " linux "
92
+ goos = " darwin "
90
93
[[builds .os .archs ]]
91
- goarch = " amd64 "
94
+ goarch = " universal "
92
95
93
96
[[builds ]]
94
97
path = " windows"
@@ -102,6 +105,35 @@ project = "hugoreleaser"
102
105
103
106
[[archives ]]
104
107
paths = [" builds/unix/**" ]
108
+ [[archives ]]
109
+ paths = [" builds/macos/**" ]
110
+ [archives .archive_settings ]
111
+ extra_files = []
112
+ [archives .archive_settings .type ]
113
+ # When format is _plugin,
114
+ # archive_settings.plugin must also be configured.
115
+ format = " _plugin"
116
+ extension = " .pkg"
117
+ [archives .archive_settings .plugin ]
118
+ id = " macospkgremote"
119
+ type = " gorun"
120
+ # Note there is a "local" variant of this that may be simpler to set up, see
121
+ # https://github.com/gohugoio/hugoreleaser-archive-plugins/tree/main/macospkg
122
+ command = " github.com/gohugoio/hugoreleaser-archive-plugins/macospkgremote@v0.1.1"
123
+ [archives .archive_settings .custom_settings ]
124
+ # Package settings
125
+ package_identifier = " io.gohugo.hugoreleaser"
126
+ package_version = " ${HUGORELEASER_TAG}"
127
+
128
+ # Apple settings. Only needed in the "local" variant of this plugin.
129
+ # apple_signing_identity = "${BUILDPKG_APPLE_DEVELOPER_SIGNING_IDENTITY}"
130
+
131
+ # AWS Settings
132
+ bucket = " s3fptest"
133
+ queue = " https://sqs.eu-north-1.amazonaws.com/656975317043/s3fptest_client"
134
+ access_key_id = " ${S3RPC_CLIENT_ACCESS_KEY_ID}"
135
+ secret_access_key = " ${S3RPC_CLIENT_SECRET_ACCESS_KEY}"
136
+
105
137
[[archives ]]
106
138
paths = [" builds/**/linux/amd64" ]
107
139
[archives .archive_settings ]
@@ -119,7 +151,7 @@ project = "hugoreleaser"
119
151
# If the plugin source lives locally, this can also be a file path,
120
152
# e.g. './myplugin'. In those setups you may need to set dir to the directory path,
121
153
# and use "." for the command.
122
- command = " github.com/gohugoio/hugoreleaser-archive-plugins/deb@latest "
154
+ command = " github.com/gohugoio/hugoreleaser-archive-plugins/deb@v0.6.1 "
123
155
[archives .archive_settings .custom_settings ]
124
156
# Custom settings as defined by the Deb plugin.
125
157
vendor = " gohugo.io"
0 commit comments