bind legacy patcher sentinel to expected value
This commit is contained in:
@@ -63,7 +63,7 @@ def add_file(archive:tarfile.TarFile,source:Path,name:str)->None:
|
||||
def build_release(repository:Path,output:Path)->dict:
|
||||
stats={"excluded_entry_count":0,"copied_entry_count":0}
|
||||
with tempfile.TemporaryDirectory(prefix="aios-v2r1c5-build.") as temporary:
|
||||
staging=Path(temporary); (staging/".aios-v2r1c5-isolated-root").write_text("V2R1C5\n",encoding="utf-8"); (staging/".aios-v2r1c4-isolated-root").write_text("V2R1C5\n",encoding="utf-8")
|
||||
staging=Path(temporary); (staging/".aios-v2r1c5-isolated-root").write_text("V2R1C5\n",encoding="utf-8"); (staging/".aios-v2r1c4-isolated-root").write_text("V2R1C4\n",encoding="utf-8")
|
||||
for rel in ("active-runtime","deploy/aios-v2","plugins/aios-tenant-boundary","fixes","tools"): copy_tree(repository/rel,staging/rel,stats)
|
||||
copy_tree(OPENCLAW_SOURCE,staging/"openclaw",stats); copy_tree(WEIXIN_SOURCE,staging/"vendor"/"openclaw-weixin",stats)
|
||||
patcher=load_patcher(repository); first=patcher.apply(staging/"vendor"/"openclaw-weixin",isolation_root=staging); second=patcher.apply(staging/"vendor"/"openclaw-weixin",isolation_root=staging)
|
||||
|
||||
Reference in New Issue
Block a user