git-time-tracking/release

21 lines
383 B
Plaintext
Raw Permalink Normal View History

2024-05-29 10:50:56 +00:00
#!/bin/bash
# install build tools
pip install build
pip install twine
pip install hatch
# increment version in pyproject.toml
hatch version micro
2024-05-29 11:20:49 +00:00
git add git_time_tracking/__about__.py
git commit -m "bump version"
git push
2024-05-29 10:50:56 +00:00
# build package
python3 -m build --wheel
# upload to pypi
python3 -m twine upload dist/*
python3 -m twine upload --skip-existing --repository gitea dist/*