Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 450 Bytes

HOW TO UPDATE VERSION.md

File metadata and controls

16 lines (12 loc) · 450 Bytes

How to update and upload a version

CURRENT_VERSION=$(python -c 'import pyrankvote;print(pyrankvote.__version__)')
bumpversion --current-version $CURRENT_VERSION patch setup.py pyrankvote/__init__.py
NEW_VERSION=$(python -c 'import pyrankvote;print(pyrankvote.__version__)')

python setup.py sdist bdist_wheel
twine upload dist/* -u jont
git commit
git tag v$NEW_VERSION
git push origin v$NEW_VERSION