From 7ad469514107203e764136d0021fcd6e58014fcd Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Tue, 2 Jul 2024 21:43:17 +0200 Subject: add macOS arm version (#3038) authored-by: rejbasket --- bin/build-distribution-archives | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') 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