mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-29 14:03:20 +01:00
Compare commits
No commits in common. "1010d9642629f18bb3d0255de875ea8c2bad821e" and "c3ac6ec05dfc48b105e2e41e9061ee3a6c4ddfda" have entirely different histories.
1010d96426
...
c3ac6ec05d
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.82+1
|
version: 1.0.80+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.12.2
|
sdk: ^3.12.2
|
||||||
|
|||||||
@ -146,19 +146,7 @@ deploy_phone() {
|
|||||||
# build signs with the debug key and cannot install over a CI build.
|
# build signs with the debug key and cannot install over a CI build.
|
||||||
[[ -f "$KEY_PROPS" || ! -f "$SHARED_KEY_PROPS" ]] ||
|
[[ -f "$KEY_PROPS" || ! -f "$SHARED_KEY_PROPS" ]] ||
|
||||||
install -m 600 "$SHARED_KEY_PROPS" "$KEY_PROPS"
|
install -m 600 "$SHARED_KEY_PROPS" "$KEY_PROPS"
|
||||||
# Outside a Claude session each phone_lease call would name its own
|
ADB_SERIAL="$SERIAL" heavy "$PHONE_DEPLOY" "$ROOT" --release || rc=$?
|
||||||
# pid as owner, so phone_deploy's launch step blocked on the lease its
|
|
||||||
# own install step took (exit 35). One owner for the whole run.
|
|
||||||
# Exit 48 = load too high right now; wait it out (up to 15 min).
|
|
||||||
local tries=0
|
|
||||||
while :; do
|
|
||||||
rc=0
|
|
||||||
PHONE_LEASE_OWNER="${PHONE_LEASE_OWNER:-deploy:$$}" ADB_SERIAL="$SERIAL" \
|
|
||||||
heavy "$PHONE_DEPLOY" "$ROOT" --release || rc=$?
|
|
||||||
((rc == 48 && ++tries <= 30)) || break
|
|
||||||
say phone "machine busy, retrying in 30 s ($tries/30)"
|
|
||||||
sleep 30
|
|
||||||
done
|
|
||||||
((rc == 0)) || { fail phone "phone_deploy.sh exited $rc (see its exit-code table)"; return; }
|
((rc == 0)) || { fail phone "phone_deploy.sh exited $rc (see its exit-code table)"; return; }
|
||||||
fi
|
fi
|
||||||
phone_health "$want"
|
phone_health "$want"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user