Record beta.110 publication and verified Prism synchronization
Build Sanctuary / build (push) Canceled after 0s

This commit is contained in:
koka
2026-09-17 03:15:20 +02:00
parent 2090380712
commit e38f6cbdbe
5 changed files with 44 additions and 9 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Publish a verified build to Gitea and advance the metadata-only packwiz branch.
"""Publish a verified build to Gitea and advance the packwiz manifests and indexed icon.
This command publishes externally. Run check/build/assemblePack, commit, and push
the source branch first. Git's configured credential helper supplies credentials
@@ -213,7 +213,9 @@ def main():
remote_manifest = response.read()
pack.require(remote_manifest == (ROOT / 'build/packwiz-release/pack.toml').read_bytes(),
'Published manifest differs from this build; inspect the distribution channel')
for path in (ROOT / 'build/packwiz-release').rglob('*.toml'):
for path in (ROOT / 'build/packwiz-release').rglob('*'):
if not path.is_file():
continue
relative = path.relative_to(ROOT / 'build/packwiz-release').as_posix()
with urlopen(stable_url.removesuffix('pack.toml') + quote(relative), timeout=60) as response:
published = response.read()