tox
# remove .dev0 from src/petl/__init__.py
sed -i -e 's/.dev0//' petl/__init__.py
version=`grep __version__ petl/__init__.py | sed -e "s/.*__version__[ ]=[ ]'\(.*\)'/\1/"`
echo $version
# git commit and tag
git commit -a -m v$version
git tag -a v$version -m v$version
git push
git push --tags
# update pypi
python setup.py register sdist
twine upload dist/petl-${version}.tar.gz
# increment version and add .dev0 in src/petl/__init__.py
git commit -a -m 'increment version'; git push
# activate version at rtfd
# notify
