summaryrefslogtreecommitdiff
path: root/bin/build-distribution-archives
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2024-07-02 21:43:17 +0200
committerGitHub <noreply@github.com>2024-07-02 21:43:17 +0200
commit7ad469514107203e764136d0021fcd6e58014fcd (patch)
treef11ed045c98a78c31bbffcea7ee032c83950fae3 /bin/build-distribution-archives
parentb3b7023cb84d17682ffd587d23d929a7c9bc5fde (diff)
add macOS arm version (#3038)
authored-by: rejbasket
Diffstat (limited to 'bin/build-distribution-archives')
-rw-r--r--bin/build-distribution-archives12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/build-distribution-archives b/bin/build-distribution-archives
index b33aa2e5..4056748e 100644
--- a/bin/build-distribution-archives
+++ b/bin/build-distribution-archives
@@ -50,7 +50,7 @@ if [ "$BUILD" = "osx" ]; then
--version ${VERSION} \
--scripts installer_scripts/scripts \
--install-location ${PKG_INSTALL_PATH}inkstitch.app \
- artifacts/inkstitch-${VERSION}-${OS}.pkg
+ artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.pkg
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9.]+$ || $NOTARIZE_DEVELOPMENT_BUILDS == true ]]; then
echo "Notary starting"
echo "Adding keychain item for notarytool"
@@ -61,9 +61,9 @@ if [ "$BUILD" = "osx" ]; then
echo "Invoking notary process"
xcrun notarytool submit -f json --wait \
--keychain-profile "inkstitch-profile" \
- artifacts/inkstitch-${VERSION}-${OS}.pkg 2>&1 | tee /tmp/notarization_info.json
+ artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.pkg 2>&1 | tee /tmp/notarization_info.json
echo "Stapling the pkg for release"
- xcrun stapler staple artifacts/inkstitch-${VERSION}-${OS}.pkg
+ xcrun stapler staple artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.pkg
echo "Fetching the Notary Log"
# code snippet is from https://github.com/ddev/signing_tools/blob/master/macos_notarize.sh
status=$(jq -r .status </tmp/notarization_info.json)
@@ -85,14 +85,14 @@ if [ "$BUILD" = "osx" ]; then
--version ${VERSION} \
--scripts installer_scripts/scripts \
--install-location ${PKG_INSTALL_PATH}inkstitch.app \
- artifacts/inkstitch-${VERSION}-${OS}.pkg
+ artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.pkg
fi
# Creating the zip for Drag n' Drop install
cd dist
- 7z a ../artifacts/inkstitch-${VERSION}-${OS}.zip *
+ 7z a ../artifacts/inkstitch-${VERSION}-${OS}-${ARCH}.zip *
cd ..
else
- cp -a images/examples palettes symbols fonts tiles dbus inx LICENSE VERSION dist/inkstitch
+ cp -a palettes symbols fonts tiles dbus inx LICENSE VERSION dist/inkstitch
cp -a icons locales print dist/inkstitch/bin
fi