build: one version for the app and the plugin

D11 replaces an installed plugin only when the shipped manifest is
newer, but the manifest version was kept by hand and still said
1.0.0.1, the version of a test build installed before the snapshot
sharing and appPath fixes, so that stale plugin was never replaced.
Directory.Build.props now holds the only version, 1.0.1; publish.py
stamps it into the shipped manifest and the app shows it in its title.

Tests that waited on real time (file retry, popup expiry) use
controlled timers, and real process waits have wider margins.

Refs #1
This commit is contained in:
Florian Schmidt
2026-10-14 21:08:22 +02:00
parent 5c5973aa6c
commit 15c7e684bb
15 changed files with 126 additions and 18 deletions
+4 -1
View File
@@ -105,6 +105,8 @@ agents edit the same files at once.
## Building and testing
Releasing: bump `<Version>` in `Directory.Build.props`, then publish; the tool stamps the plugin manifest.
Run every command from the repository root.
| Command | What it does |
@@ -124,7 +126,8 @@ a screenshot of each changed view: compiling is not working.
- `tools/agent-review.sh`: posts an agent review and sets the `agent-review` status; see
`docs/agents/review.md`.
- `tools/publish.py`: publishes the app, `finaltoken-cli` and Stream Deck plugin with NativeAOT
into an empty output directory and creates a ZIP beside it. Run on the target OS.
into an empty output directory and creates a ZIP beside it. Run on the target OS. It stamps
the plugin manifest's `Version` from `<Version>`; its test is `python -B tools/test_publish.py`.
## Writing