- Set a variable to the version number for convenience:
ver=x.y.z
- Update the changelog:
towncrier --version=$ver - Push your changes:
git add -u && git commit -m $ver && git push
- Sanity-check the changelog and update if need be.
- Create a signed tag for the relese:
Base the tag message on the changelog.
git tag -s v$ver - Push the tag:
git push origin tag v$ver - Build and upload to PyPI:
python setup.py sdist twine upload dist/python-signedjson-$ver.tar.gz - Create release on GH project page:
xdg-open https://github.com/matrix-org/python-signedjson/releases/edit/v$ver