1
0
mirror of https://github.com/vector-im/element-android.git synced 2025-04-19 09:22:16 +03:00

Release script: ignore error when installing on real device.

This commit is contained in:
Benoit Marty 2025-01-17 16:24:24 +01:00
parent 1620981cf4
commit cdb8e9dda7

View File

@ -343,7 +343,11 @@ read -p "Does it look correct? Press enter when it's done."
printf "\n================================================================================\n"
read -p "Installing apk on a real device, press enter when a real device is connected. "
apkPath="${targetPath}/vector-gplay-arm64-v8a-release-signed.apk"
# Ignore error
set +e
adb -d install ${apkPath}
# Do not ignore error
set -e
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."