Set
$VERSION
shell variable to ease copy-pasting further commands:VERSION=x.y
Update
__version__
in robotbackgroundlogger.py:git diff # verify changes git commit -m "Updated __version__ to $VERSION" robotbackgroundlogger.py && git push
Tag:
git tag -a $VERSION -m "Release $VERSION" && git push --tags
Create distribution:
python setup.py sdist register upload
Verify that PyPI looks good.
Test that installation works:
pip install robotbackgroundlogger --upgrade
__version__
back to dev (e.g. 1.3dev):git diff # verify changes git commit -m "__version__ back to dev" robotbackgroundlogger.py && git push
Advertise on Twitter and on mailing lists as needed.