Commit 5dcbb5c
deploy: word the clean-reinstall notice to match what actually happens
The fallback printed "In-place update rejected — reinstalling clean
(app data will be cleared)" for any `install -r` failure, including a
transient adb error (e.g. device offline) where nothing is rejected and
the follow-up uninstall+install just re-fails without clearing data.
Split the notice: only a genuine package-state rejection (an
INSTALL_FAILED line, i.e. signature/version mismatch) claims app data
will be cleared; a non-zero exit without INSTALL_FAILED reports the adb
exit code and "retrying with a clean install". Also drops the em-dash
from user-facing output. Behaviour is unchanged; wording only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1c6b39b commit 5dcbb5c
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1274 | 1274 | | |
1275 | 1275 | | |
1276 | 1276 | | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
1281 | 1293 | | |
1282 | 1294 | | |
1283 | 1295 | | |
| |||
0 commit comments