Skip to content

Commit cdb8e9d

Browse files
committed
Release script: ignore error when installing on real device.
1 parent 1620981 commit cdb8e9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/release/releaseScript.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,11 @@ read -p "Does it look correct? Press enter when it's done."
343343
printf "\n================================================================================\n"
344344
read -p "Installing apk on a real device, press enter when a real device is connected. "
345345
apkPath="${targetPath}/vector-gplay-arm64-v8a-release-signed.apk"
346+
# Ignore error
347+
set +e
346348
adb -d install ${apkPath}
349+
# Do not ignore error
350+
set -e
347351

348352
read -p "Please run the APK on your phone to check that the upgrade went well (no init sync, etc.). Press enter when it's done."
349353

0 commit comments

Comments
 (0)