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 b463d383bdd6c9c582ec3c9d3bf8520fd0baef28..9747bd3ec92217a83432d778be3c3a259d2dd1b2 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