Stop xcrun errors silently killing the build. v2.15.75
authorCarl Hetherington <cth@carlh.net>
Mon, 18 May 2020 11:36:19 +0000 (13:36 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 18 May 2020 11:36:19 +0000 (13:36 +0200)
platform/osx/make_dmg.sh

index b463d38..9747bd3 100644 (file)
@@ -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