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:
@@ -7,6 +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.
|
||||
- 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.
|
||||
- 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.
|
||||
|
||||
Reference in New Issue
Block a user