ci: serve the plugin repository from manifest.json on main
Build / build (push) Successful in 1m50s

The install URL is now the raw manifest in the source tree. The workflow
adds each release to it and commits it back.
This commit is contained in:
2026-11-13 22:37:04 +01:00
parent 9e38c98da2
commit 28b6244a17
5 changed files with 38 additions and 21 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ One line per decision, with the reason.
- Target Jellyfin **10.11.11** (`Jellyfin.Controller` / `Jellyfin.Model` 10.11.11, `net9.0`): it is the last 10.11 release on NuGet; the nuspec of that package lists `net9.0` as its only framework. Versions live in `Directory.Build.props`.
- `targetAbi` is `10.11.0.0`: the plugin only uses APIs that exist across 10.11, so it should not be pinned to the patch release it was compiled against.
- Removed the template's `.github` workflows and Renovate preset: they call reusable workflows and secrets of the Jellyfin organisation and cannot run elsewhere. Replaced by one self-contained workflow for Gitea Actions in `.gitea/workflows`; it talks to the Gitea API with `curl`, so it needs no forge-specific CLI on the runner.
- Releases are driven by the version, not by hand-made tags: a push to `main` whose `build.yaml` version has no `v<version>` tag is tagged and released by the workflow. The plugin repository manifest is a release asset carried forward from release to release, so nothing has to be committed back by CI.
- Releases are driven by the version, not by hand-made tags: a push to `main` whose `build.yaml` version has no `v<version>` tag is tagged and released by the workflow. The plugin repository is `manifest.json` in the source tree, installed through its raw link on `main`; the workflow adds each release to it and commits the file back (`[skip ci]`), so the install URL does not depend on a release asset.
- Removed the template's `.vscode` folder: it assumes a local checkout of the Jellyfin server and web client next to the repo.
- No analyzer warnings are suppressed project-wide. The only suppressions are three `CA2100` pragmas in `Storage/` where a command text is assigned from a constant string, which the analyzer cannot see through a helper.
- The test project does not reference the StyleCop/`AllEnabledByDefault` analyzer set: XML docs and naming rules on test methods add noise without value. It still builds with warnings as errors.