release 0.0.0

This commit is contained in:
Waylon S. Walker 2025-03-24 14:53:16 -05:00
parent 24256b767d
commit 778f7fbd7c
8 changed files with 513 additions and 57 deletions

View file

@ -0,0 +1,25 @@
#!/usr/bin/env -S uv run --quiet --script
# /// script
# requires-python = ">=3.10"
# ///
import sys
def generate_install_script(version):
with open("scripts/install.sh.template", "r") as f:
template = f.read()
script = template.replace("{{VERSION}}", version)
with open("dist/install.sh", "w") as f:
f.write(script)
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: generate_install_script.py VERSION", file=sys.stderr)
sys.exit(1)
version = sys.argv[1]
generate_install_script(version)