Skip to content

Commit 048a74e

Browse files
committed
fix: bump_version.py rebuilds OpenClaw plugin after version change
1 parent edea22b commit 048a74e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/bump_version.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ def main() -> None:
7171
print("\nRunning uv lock ...")
7272
subprocess.run(["uv", "lock"], cwd=ROOT, check=True)
7373

74+
# Rebuild the OpenClaw plugin so dist/index.js matches the new version.
75+
plugin_dir = ROOT / "keep" / "data" / "openclaw-plugin"
76+
print("\nRebuilding OpenClaw plugin ...")
77+
subprocess.run(["node", "build.mjs"], cwd=plugin_dir, check=True)
78+
7479

7580
if __name__ == "__main__":
7681
main()

0 commit comments

Comments
 (0)