Skip to content

Commit

Permalink
ci(packaging): Fail notarization if server returns "invalid" status
Browse files Browse the repository at this point in the history
Otherwise it loops forever until the CI jobs runs into a timeout.
  • Loading branch information
Holzhaus committed Oct 12, 2023
1 parent 1087d9b commit e43a50e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/macos/sign_notarize_staple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ while true; do
elif [ "${NOTARIZATION_STATUS}" == "success" ]; then
echo "Notarization succeeded"
break
elif [ "${NOTARIZATION_STATUS}" == "invalid" ]; then
echo "Notarization failed with status: ${NOTARIZATION_STATUS}"
exit 1
else
echo "Notarization status: ${NOTARIZATION_STATUS}"
fi
Expand Down

0 comments on commit e43a50e

Please sign in to comment.