From 3bc6a4ff1965c25f058f8d7a151c12a079b59f04 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 18 May 2020 13:36:19 +0200 Subject: [PATCH] Stop xcrun errors silently killing the build. --- platform/osx/make_dmg.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index b463d383b..9747bd3ec 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -396,7 +396,9 @@ EOF N=0 while [ 1 ]; do echo "Checking up on $id" + set +e status=$(xcrun altool --notarization-info $id -u $APPLE_ID -p $APPLE_PASSWORD --output-format xml) + set -e summary=$(echo "$status" | grep -C1 "Status" | tail -n 1 | sed -e "s/ .//g") echo "Got $summary" if [ "$summary" == "invalid" ]; then -- 2.30.2