From 2097d37f766a4c8749617b0dd58aa5db2a56c2b4 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 2 Feb 2021 11:44:52 +0000 Subject: [PATCH] Wait longer for notarisation results. --- pkg/mac/build-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/mac/build-functions.sh b/pkg/mac/build-functions.sh index 273f50aa2..f8a38e6d3 100644 --- a/pkg/mac/build-functions.sh +++ b/pkg/mac/build-functions.sh @@ -364,11 +364,11 @@ _notarize_pkg() { echo "Notarization request ID: ${REQUEST_UUID}" # Now we need to wait for the results. Try 10 times. - for i in {1..10}; do + for i in {1..20}; do echo "Waiting 30 seconds..." sleep 30 - echo "Requesting notarisation result (attempt ${i} of 10)..." + echo "Requesting notarisation result (attempt ${i} of 20)..." REQUEST_STATUS=$(xcrun altool --notarization-info ${REQUEST_UUID} --username ${DEVELOPER_USER} --password ${DEVELOPER_ASP} 2>&1 | awk -F ': ' '/Status:/ { print $2; }' ) if [[ "${REQUEST_STATUS}" == "success" ]]; then