summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-18 13:36:19 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-18 13:36:19 +0200
commit3bc6a4ff1965c25f058f8d7a151c12a079b59f04 (patch)
tree83b7fa06de1b61ff262d2ef9bba8bf42da6d8b7d
parent6bd9c8478c3022219302a12bf4643f3ca43f64d7 (diff)
Stop xcrun errors silently killing the build.v2.15.75
-rw-r--r--platform/osx/make_dmg.sh2
1 files changed, 2 insertions, 0 deletions
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 "<key>Status</key>" | tail -n 1 | sed -e "s/ .//g")
echo "Got $summary"
if [ "$summary" == "<string>invalid</string>" ]; then