Skip to content

Commit 2bab328

Browse files
committed
Check everything's in place for the notarising dance
...before we start the build process.
1 parent a7d1d98 commit 2bab328

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎scripts/electron-package.sh‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ if [ ! -f package.json ]; then
6767
exit
6868
fi
6969

70+
if [ -z "$NOTARIZE_APPLE_ID" ]; then
71+
echo "NOTARIZE_APPLE_ID is not set"
72+
exit
73+
fi
74+
75+
# Test that altool can get its credentials for notarising the mac app
76+
xcrun altool -u "$NOTARIZE_APPLE_ID" -p '@keychain:NOTARIZE_CREDS' --list-apps || exit
77+
7078
echo "Building $version using Update base URL $update_base_url"
7179

7280
projdir=`pwd`

0 commit comments

Comments
 (0)