ci: release automatically when the version changes

A push to main whose build.yaml version has no tag yet creates the tag and
a release with the plugin zip and an updated repository manifest.
This commit is contained in:
2026-11-13 18:16:22 +01:00
parent 383b90d9b8
commit 7f357cb46c
4 changed files with 86 additions and 29 deletions
+1 -3
View File
@@ -8,7 +8,7 @@
- **Client injection**: registered with the File Transformation plugin by reflection at startup; a warning is logged when that plugin is missing. Manual fallbacks are documented.
- **Watch-time stats**: playback start/progress/stop events are turned into daily per-user aggregates; `GET /Herald/Stats` and a sortable "Stats" tab show them; a daily scheduled task drops rows older than 90 days.
- **Storage**: one SQLite database in Jellyfin's data directory, using the `Microsoft.Data.Sqlite` that the server ships. Versioned migrations, serialized writes.
- **Project plumbing**: xUnit test project (56 tests), `build.yaml` for jprm, a GitHub Actions workflow (build, test, package, attach zip to the release on tag push), a sample `manifest.json`, `README.md`, `DECISIONS.md`.
- **Project plumbing**: xUnit test project (56 tests), `build.yaml` for jprm, a GitHub Actions workflow (build, test, package; tags and releases automatically when the version changes), a sample `manifest.json`, `README.md`, `DECISIONS.md`.
## What was verified, and how
@@ -35,7 +35,6 @@ Two bugs were found and fixed through the container test: the unanchored File Tr
- File Transformation was tested in version 3.0.3.0 only. Its registration API is found by reflection, so a rename on their side turns into the logged warning, not a crash.
- Stats were verified with simulated reports, not with a real player. The systematic inaccuracies are listed in the README.
- The UI is English only.
- The release part of the GitHub workflow (tag push) has not run yet.
- Must-accept is a record of consent, not an access gate: nothing on the server is blocked for users who have not accepted.
## Environment notes
@@ -46,6 +45,5 @@ Two bugs were found and fixed through the container test: the unanchored File Tr
## Next steps
- Push a `v1.0.0` tag, check the release workflow, and put the real checksum and timestamp into `manifest.json`.
- Try the popup on the themes and devices your users actually have.
- Optional: start/end dates for notices, a history of earlier rounds in the responses view, translations.