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