adding more debug output to notarization script
This commit is contained in:
@@ -16,12 +16,23 @@ UUID=$(echo ${RESPONSE} | jq -r '.uuid')
|
||||
|
||||
STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status')
|
||||
|
||||
echo "Status after submitting"
|
||||
echo ${STATUS}
|
||||
|
||||
while [[ ${STATUS} == 'IN_PROGRESS' ]]; do
|
||||
sleep 1m
|
||||
RESPONSE=$(curl -s ${NOTARIZE_SERVICE_URL}/macos-notarization-service/${UUID}/status)
|
||||
STATUS=$(echo ${RESPONSE} | jq -r '.notarizationStatus.status')
|
||||
|
||||
echo "Waiting for status to change"
|
||||
echo ${RESPONSE}
|
||||
echo ${STATUS}
|
||||
done
|
||||
|
||||
echo "Status is not in progress anymore"
|
||||
echo ${RESPONSE}
|
||||
echo ${STATUS}
|
||||
|
||||
if [[ ${STATUS} != 'COMPLETE' ]]; then
|
||||
echo "Notarization failed: ${RESPONSE}"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user