feat: added release script

This commit is contained in:
Hazel 2024-07-02 16:35:14 +02:00
parent 96bb1fce8e
commit 25c601ecee

20
release Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
# install build tools
pip install build
pip install twine
pip install hatch
# increment version in pyproject.toml
hatch version micro
git add json_unescape/__about__.py
git commit -m "bump version"
git push
# build package
python3 -m build --wheel
# upload to pypi
python3 -m twine upload dist/*
python3 -m twine upload --skip-existing --repository gitea dist/*