Rename loop-claude to build-release, with no alias

This commit is contained in:
2026-12-03 15:22:11 +01:00
parent 38102d5aa5
commit 969190064e
139 changed files with 717 additions and 671 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Print index.html to loop-claude-explained.pdf beside it, in the playwright-for-claude image."""
"""Print index.html to build-release-explained.pdf beside it, in the playwright-for-claude image."""
import pathlib, shutil, subprocess, sys, tempfile
HERE = pathlib.Path(__file__).resolve().parent
@@ -19,8 +19,8 @@ def main() -> int:
printed = subprocess.run(["docker", "run", "--rm", "--init", "--memory", "2g", "--memory-swap", "2g", "-v", f"{work}:/work", "-w", "/work", "--entrypoint", "node", IMAGE, "render-pdf.js"])
if printed.returncode != 0:
return printed.returncode
shutil.copy(work / "out.pdf", HERE / "loop-claude-explained.pdf")
print(f"Wrote {HERE / 'loop-claude-explained.pdf'}")
shutil.copy(work / "out.pdf", HERE / "build-release-explained.pdf")
print(f"Wrote {HERE / 'build-release-explained.pdf'}")
return 0