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:
@@ -19,7 +19,7 @@ Watch-time stats are collected on the server and cover all clients.
|
||||
|
||||
### From a plugin repository
|
||||
|
||||
1. In Jellyfin: **Dashboard → Plugins → Manage Repositories → New Repository**, enter `https://github.com/JoshiCodes/jellyfin-Herald/releases/latest/download/manifest.json`.
|
||||
1. In Jellyfin: **Dashboard → Plugins → Manage Repositories → New Repository**, enter `https://git.joshicodes.de/JoshiCodes/jellyfin-herald/raw/branch/main/manifest.json`.
|
||||
2. Install **Herald** from the catalogue and restart the server.
|
||||
|
||||
### Manually
|
||||
@@ -183,11 +183,11 @@ This writes `artifacts/herald_<version>.zip`. The Jellyfin version, target frame
|
||||
|
||||
The version lives in `build.yaml` (`version`) and `Directory.Build.props` (`Version`, `AssemblyVersion`, `FileVersion`); keep them equal, the workflow fails otherwise. Put the release notes in `changelog` in `build.yaml`.
|
||||
|
||||
Every push to `main` builds and tests. If the version has no `v<version>` tag yet, the workflow (`.gitea/workflows/build.yaml`, Gitea Actions) also creates that tag and a release with two assets: the plugin zip and a `manifest.json` that lists this and all earlier releases. So a release is: bump the version, push.
|
||||
Every push to `main` builds and tests. If the version has no `v<version>` tag yet, the workflow (`.gitea/workflows/build.yaml`, Gitea Actions) also creates that tag and a release with the plugin zip, adds the version to `manifest.json` and commits that file back to `main`. So a release is: bump the version, push, and pull the manifest commit afterwards.
|
||||
|
||||
## Hosting your own repository
|
||||
|
||||
The `manifest.json` attached to the latest release is a complete plugin repository; the URL under [Installation](#installation) always points at it. The `manifest.json` in the source tree is only a sample of the format.
|
||||
The `manifest.json` in the source tree is a complete plugin repository; the URL under [Installation](#installation) is its raw link on `main`. A copy is attached to every release.
|
||||
|
||||
To host it elsewhere, build the manifest yourself:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user