Add build-local render and release workflows

This commit is contained in:
2026-08-10 21:54:05 +01:00
parent eadef6c60e
commit 4a91533b63
244 changed files with 3585 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/env python3
from __future__ import annotations
import json
from urllib.request import urlopen
VERSION_MANIFEST_URL = "https://launchermeta.mojang.com/mc/game/version_manifest_v2.json"
def main() -> int:
with urlopen(VERSION_MANIFEST_URL, timeout=30) as response:
manifest = json.load(response)
latest_release = manifest["latest"]["release"]
latest_snapshot = manifest["latest"]["snapshot"]
print(latest_release)
print(f"snapshot={latest_snapshot}")
return 0
if __name__ == "__main__":
raise SystemExit(main())