mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-26 20:47:13 +01:00
Deploy from main checkout, not the worktree
phone_deploy refuses a production install from a worktree (exit 49), so the board's deploy of this repo always failed on the phone target. Todo: 2556952d Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
660d82282c
commit
d5764fce7b
@ -50,7 +50,8 @@ and sync peer-to-peer through a GitHub repo used as dumb storage.
|
|||||||
- lint: `flutter analyze`
|
- lint: `flutter analyze`
|
||||||
- coverage: `flutter test --coverage --reporter=compact`
|
- coverage: `flutter test --coverage --reporter=compact`
|
||||||
- coverage-gaps: `coverage-gaps coverage/lcov.info`
|
- coverage-gaps: `coverage-gaps coverage/lcov.info`
|
||||||
- deploy: `scripts/deploy.sh` (MCP service, desktop pacman package, phone release; exits non-zero unless every health check passes)
|
- deploy: `git -C ~/src/todo pull --ff-only && ~/src/todo/scripts/deploy.sh` (MCP service, desktop pacman package, phone release;
|
||||||
|
exits non-zero unless every health check passes; runs from the main checkout because phone_deploy refuses a worktree, exit 49)
|
||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
|
|||||||
@ -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.101+1
|
version: 1.0.102+1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.12.2
|
sdk: ^3.12.2
|
||||||
|
|||||||
@ -22,8 +22,9 @@
|
|||||||
# version means equal code); the MCP binary is cheap and always rebuilt.
|
# version means equal code); the MCP binary is cheap and always rebuilt.
|
||||||
#
|
#
|
||||||
# Nothing live runs from ~/src/todo (the MCP is a frozen binary, the desktop
|
# Nothing live runs from ~/src/todo (the MCP is a frozen binary, the desktop
|
||||||
# app lives in /opt/todo), so this deploys the checkout it sits in and never
|
# app lives in /opt/todo), so this deploys the checkout it sits in. The
|
||||||
# pulls kuhy's working tree.
|
# declared deploy (CLAUDE.md) fast-forwards ~/src/todo and runs from there:
|
||||||
|
# phone_deploy refuses a production install from a worktree (exit 49).
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user