Prepare signed Gitea releases with the VPS entry point and protect versioned R2 assets from replacement. Use the R2 release feed as the default update source. Verified both type checks and the VPS and R2 release commands in help mode. BREAKING CHANGE: The GitHub Actions release workflows have been removed. Run scripts/release-vps.ts from a checkout of the release tag on Gitea.
18 lines
840 B
JSON
18 lines
840 B
JSON
// Release update channels for the launcher and adaptation packs, including pack size limits.
|
|
{
|
|
// Default primary release source. Both channels share this endpoint:
|
|
// launcher tags use `v<version>` and pack tags use `patches-<version>`.
|
|
"primary_source": "https://dl.wto-project.net",
|
|
// Default ordered fallback sources tried when the primary source is unreachable.
|
|
"fallback_sources": [],
|
|
// Entries per request (GitHub allows up to 100) and pages per shared check.
|
|
"release_page_size": 30,
|
|
"max_release_pages": 5,
|
|
// Largest pack (zip) the launcher downloads, and the most its files may add up to unpacked.
|
|
// The whole patch set is about 0.2 MB today.
|
|
"max_pack_bytes": 16777216,
|
|
"max_unpacked_bytes": 67108864,
|
|
// A request to a release source that takes longer is given up.
|
|
"request_timeout_ms": 20000
|
|
}
|