SL-15585 Improved notarization error handling

master
Andrey Lihatskiy 2021-07-14 23:35:45 +03:00
parent 4d15f18d92
commit b58fb17582
1 changed files with 4 additions and 0 deletions

View File

@ -36,8 +36,12 @@ if [ -f "$CONFIG_FILE" ]; then
if [["$status" == "success"]]; then
xcrun stapler staple "$app_file"
elif [["$status" == "invalid"]]; then
echo "Notarization error: failed to process the app file"
exit 1
fi
elif
echo "Notarization error: couldn't get request UUID"
exit 1
fi
fi
fi