feat: implemented release script

This commit is contained in:
2024-05-29 12:50:56 +02:00
parent d3cc40d0af
commit 38768737b1
2 changed files with 18 additions and 1 deletions

17
release Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# install build tools
pip install build
pip install twine
pip install hatch
# increment version in pyproject.toml
hatch version micro
# build package
python3 -m build --wheel
# upload to pypi
python3 -m twine upload dist/*
python3 -m twine upload --skip-existing --repository gitea dist/*