Release v2.14.0: Implement pre-commit preparation & 8-gate drift-blocking verifier (hs-deploy-scripts-sync Gates D1-D8) for push-all-to-git-libre-audio.sh and deploy/sync-vps-repos.sh (Plan #58)
This commit is contained in:
1 parent
6624209f2b
commit
f78cf47e00
39 files changed
+574
-152
No files matched your search
@@ -476,8 +476,20 @@ def sync_workspace_version(target_version: str, check_only: bool = False, ws_roo
|
||||
ws_toml.write_text(upd_ws, encoding="utf-8")
|
||||
modified_files.append(str(ws_toml))
|
||||
|
||||
from hyperstitionstud_io.ci.deploy_scripts_sync import prepare_and_verify_deploy_scripts
|
||||
from hyperstitionstud_io.publishing.readme_sync import sync_all_repo_readmes
|
||||
|
||||
deploy_res = prepare_and_verify_deploy_scripts(
|
||||
workspace_root=cfg.workspace_root,
|
||||
target_version=v,
|
||||
check_only=check_only,
|
||||
stage=False,
|
||||
)
|
||||
if check_only and not deploy_res["ok"]:
|
||||
mismatched_files.extend(deploy_res["errors"])
|
||||
elif not check_only:
|
||||
modified_files.extend(deploy_res["modified_files"])
|
||||
|
||||
readme_res = sync_all_repo_readmes(ws_root=cfg.workspace_root, version=v, check_only=check_only)
|
||||
if check_only and not readme_res["all_in_sync"]:
|
||||
mismatched_files.extend(readme_res["mismatched_readmes"])
|
||||
|
||||
Reference in new issue
Block a user