These are the steps, to be run by the maintainer, for making a new Python package release.
-
Rev
__version__
in sphinx_sitemap/__init__.py. -
Update CHANGELOG.rst
-
Create a tag and push to GitHub:
git tag -a vX.Y.Z -m "Release vX.Y.Z" git push --tags origin master
-
Build the latest distribution locally:
python -m build
-
Upload to the test pypi.org repository:
twine upload --repository testpypi dist/*
-
Upload to the production pypi.org repository:
twine upload dist/*