Desktop clients had two competing update sources: the runtime pointed at a legacy GitLab registry while the Forgejo packages were filled in by hardcoded, version-pinned scripts. Operators could not tell which feed was authoritative, and no release could be reproduced from a tag. Auto-update now reads a single canonical Forgejo registry feed, updated by a version-agnostic publisher that runs from the tag on Forgejo, GitLab, and GitHub CI alike. Channel, minimum supported version, forced install, full-versus-delta thresholds, staged rollout, and a remote kill switch come from one policy file the client fetches alongside the feed. Tag creation is gated on a clean tree, matching version surfaces, and a changelog section.
15 lines
389 B
JSON
15 lines
389 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"defaultChannel": "latest",
|
|
"channels": {
|
|
"latest": { "allowPrerelease": false },
|
|
"beta": { "allowPrerelease": true },
|
|
"alpha": { "allowPrerelease": true }
|
|
},
|
|
"minimumSupportedVersion": "1.0.0",
|
|
"forceInstallBelow": "0.3.0",
|
|
"fullInstallOnMajorChange": true,
|
|
"fullInstallVersionGap": 3,
|
|
"stagingPercentage": 100,
|
|
"killSwitch": false
|
|
}
|