Check everything's in place for the notarising dance

...before we start the build process.
This commit is contained in:
David Baker 2019-10-10 15:32:17 +01:00
parent a7d1d9880b
commit 2bab328f8d

View File

@ -67,6 +67,14 @@ if [ ! -f package.json ]; then
exit
fi
if [ -z "$NOTARIZE_APPLE_ID" ]; then
echo "NOTARIZE_APPLE_ID is not set"
exit
fi
# Test that altool can get its credentials for notarising the mac app
xcrun altool -u "$NOTARIZE_APPLE_ID" -p '@keychain:NOTARIZE_CREDS' --list-apps || exit
echo "Building $version using Update base URL $update_base_url"
projdir=`pwd`