diff --git a/docs/ocsentinel-deployment.md b/docs/ocsentinel-deployment.md index e3bdb91..5d3eef3 100644 --- a/docs/ocsentinel-deployment.md +++ b/docs/ocsentinel-deployment.md @@ -36,7 +36,7 @@ Initial install/update: ```powershell & "C:\Program Files\OCSentinel\scripts\update-ocsentinel.ps1" ` - -ManifestUrl "https://gitea.officecom.cloud/officecom/oc-sentinel/releases/download/v1.2.3/version.json" ` + -ManifestUrl "https://gitea.officecom.cloud/officecom/oc-sentinel/raw/main/release/stable/version.json" ` -Force ``` @@ -44,7 +44,7 @@ Routine update: ```powershell & "C:\Program Files\OCSentinel\scripts\update-ocsentinel.ps1" ` - -ManifestUrl "https://gitea.officecom.cloud/officecom/oc-sentinel/releases/download/v1.2.3/version.json" + -ManifestUrl "https://gitea.officecom.cloud/officecom/oc-sentinel/raw/main/release/stable/version.json" ``` Runtime: @@ -72,7 +72,9 @@ As of July 16, 2026, the first manual release is already published: - tag: `v1.2.3` - release URL: `https://gitea.officecom.cloud/officecom/oc-sentinel/releases/tag/v1.2.3` -- manifest URL: `https://gitea.officecom.cloud/officecom/oc-sentinel/releases/download/v1.2.3/version.json` +- stable manifest URL: `https://gitea.officecom.cloud/officecom/oc-sentinel/raw/main/release/stable/version.json` + +The manifest is intentionally version-independent for NinjaOne. Only the JSON content changes per release; the NinjaOne task URL stays the same. This means NinjaOne rollout can start immediately without waiting for a Gitea runner. @@ -83,3 +85,4 @@ When a Gitea runner is added later, the usual next step is: 1. connect to the runner host through SSH or RDP, depending on the server type 2. install and register the Gitea runner 3. let `.gitea/workflows/client-build.yml` publish future release artifacts automatically +4. update `release/stable/version.json` automatically as part of the release flow diff --git a/release/stable/version.json b/release/stable/version.json new file mode 100644 index 0000000..fdc3524 --- /dev/null +++ b/release/stable/version.json @@ -0,0 +1,8 @@ +{ + "channel": "stable", + "version": "1.2.3", + "publishedAtUtc": "2026-07-16T22:58:05.1732183Z", + "artifactUrl": "https://gitea.officecom.cloud/officecom/oc-sentinel/releases/download/v1.2.3/OCSentinelClient-win-x64.zip", + "sha256": "50c7da8ff9cb96852493d4d89ad32bfd004a99fcf94b6acc70f8070ceaf737f2", + "minUpdaterVersion": "1.0.0" +}