PyPI Release Checklist¶
For Every Release¶
Update CHANGELOG.rst
Commit the changes:
$ git add CHANGELOG.rst $ git commit -m "Changelog for upcoming release 0.1.1."
Update version number (can also be minor or major)
$ poetry version patch
Install the package again for local development, but with the new version number:
$ poetry install
Run the tests:
$ tox
Create a tag:
$ git tag `poetry version -s`
Push the commit:
$ git push
Push the tags:
$ git push --tags
Create a release on GitHub at https://github.com/sp-fm/fuse-utils/releases. Paste the change logs into the release’s description, and come up with a title for the release.
Check the PyPI listing page to make sure that the README, release notes, and roadmap display properly. If not, try one of these:
Copy and paste the RestructuredText into http://rst.ninjs.org/ to find out what broke the formatting.
Check your long_description locally:
$ pip install readme_renderer $ python -m readme_renderer PROBLEM.rst >/dev/null
Replace PROBLEM.rst with the name of the file you are having trouble with