mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-20 13:12:18 +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`
|
||||
- coverage: `flutter test --coverage --reporter=compact`
|
||||
- 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
|
||||
|
||||
|
||||
@ -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
|
||||
# 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.
|
||||
version: 1.0.101+1
|
||||
version: 1.0.102+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.12.2
|
||||
|
||||
@ -22,8 +22,9 @@
|
||||
# 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
|
||||
# app lives in /opt/todo), so this deploys the checkout it sits in and never
|
||||
# pulls kuhy's working tree.
|
||||
# app lives in /opt/todo), so this deploys the checkout it sits in. The
|
||||
# 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user