feat: implemented release script

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

View File

@ -1,2 +1,2 @@
__version__ = "0.0.0" __version__ = "0.0.1"
__name__ = "git_time_tracking" __name__ = "git_time_tracking"

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/*