To cut a new release
-
prepare release notes for this release by inspecting the milestone on github.com
-
create a git tag
git tag -a -s vX.Y.Z
and populate the tag message with the release notes
-
push the tag to github.com (change
upstream
to the appropriateremote
reference):git push upstream vX.Y.Z
-
create a release on github.com and copy the release notes into the description
-
publish the release on pypi.python.org:
rm -rf dist/ # remove old distributions python3 -m build --sdist --wheel python3 -m twine upload --sign dist/pyomicron-*