Synchronize and track all hardcoded versions in a project!
Versions specified in .bumpversion.cfg are compared to those hosted in a baseline such as origin/main
...
sudo apt install python3 python3-pip
python3 -m pip install version_checker-0.2.3-py3-none-any.whl
version_checker -h
sudo apt install python3 python3-venv python3-pip
python3 -m venv .venv
. .venv/bin/activate
pip install -e .[dev]
python3 -m build
pylint version_checker/
pytest
pytest --cov=version_checker.utils tests/ # --cov-report html && firefox htmlcov/index.html
# or `coverage run && coverage html`
bash integration-test.sh
New pypi releases are triggered by tags:
git checkout main
bump2version <major|minor|patch|pre|build> --commit --tag
git push
git push --tags
See version_checker/Readme.md for usage details.