Skip to content

Commit

Permalink
Merge pull request mixxxdj#12095 from Holzhaus/macos-notarize-invalid
Browse files Browse the repository at this point in the history
ci(packaging): Fail notarization if server returns "invalid" status
  • Loading branch information
Swiftb0y authored Oct 13, 2023
2 parents 1087d9b + e43a50e commit 00a6646
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 00a6646

Please sign in to comment.