SL-15612 Check for SKIP_NOTARIZATION evn. variable

master
Andrey Lihatskiy 2021-09-21 19:37:15 +03:00
parent 4a411d9896
commit 30c0043ba3
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
#!/bin/sh
if [ -n $SKIP_NOTARIZATION ]; then
echo "Skipping notarization"
exit 0
fi
CONFIG_FILE="$build_secrets_checkout/code-signing-osx/notarize_creds.sh"
if [ -f "$CONFIG_FILE" ]; then
source $CONFIG_FILE