Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions scripts/notarize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ xcrun notarytool >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "+ Found notarytool"
notarization_method=run_notarytool
fi
# Fallbqck to altool
output=xcrun altool >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "+ Found altool"
notarization_method=run_altool
else
# Fallback to altool
xcrun -f altool >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "+ Found altool"
notarization_method=run_altool
fi
fi

if [ $notarization_method = "exit" ]; then
Expand Down
Loading