pycountry-wrapper/release

20 lines
382 B
Plaintext
Raw Normal View History

2024-11-19 13:55:37 +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-11-19 14:08:16 +00:00
git add pycountry_wrapper/__about__.py
2024-11-19 13:55:37 +00:00
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/*