release: bump version to 0.84.2

This commit is contained in:
rayd1o committed 2026-12-05 01:56:03 +08:00
1 parent 5e6352f524
commit 30b44ec00d
77 files changed
+3312 -1039

No files matched your search

+18 -3
View File
@@ -575,9 +575,13 @@ def main(argv: list[str] | None = None) -> int:
print(f"scope_components: {','.join(scope.components)}")
print(f"scope_services: {','.join(scope.services) or 'none'}")
print(f"scope_client_mode: {scope.client_mode}")
print(
f"gitea_release: {'skip (no client update)' if scope.client_mode == 'none' else 'create'}"
)
if scope.client_mode == "full":
gitea_release_action = "create"
elif scope.client_mode == "hotfix":
gitea_release_action = "skip (OCI hotfix; preserves /releases/latest desktop installers)"
else:
gitea_release_action = "skip (no client update)"
print(f"gitea_release: {gitea_release_action}")
print(f"scope_previous_tag: {scope.previous_tag or 'none'}")
print(f"notes_length: {len(notes)}")
print(f"assets_count: {len(assets)}")
@@ -630,6 +634,17 @@ def main(argv: list[str] | None = None) -> int:
flush=True,
)
return 0
if client_mode == "hotfix":
if published:
raise RuntimeError(
f"Hotfix-only release {args.tag} must not have a published Gitea Release"
)
print(
f"Published hotfix release {args.tag} via OCI manifest and bundle "
"(skipped Gitea Release to preserve /releases/latest)",
flush=True,
)
return 0
if published:
pub_manifest = release_manifest(public, args.tag)
if pub_manifest is None or pub_manifest["client"]["mode"] != "none":