PyPI Release Checklist¶
Before Your First Release¶
Register the package on PyPI:
poetry publish
Visit PyPI to make sure it registered.
For Every Release¶
Update HISTORY.rst
Commit the changes:
git add HISTORY.rst git commit -m "Changelog for upcoming release 0.1.1."Update version number (can also be patch or major)
bumpversion minor # Bumps version to 0.1.1-dev0 bumpversion release # Bumps version to 0.1.1
Run the tests:
tox
Push the commit:
git push
Push the tags, creating the new release on both GitHub and PyPI:
git push --tags
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.
#. Edit the release on GitHub (e.g. https://github.com/johanvergeer/cookiecutter-poetry/releases). Paste the release notes into the release’s release page, and come up with a title for the release.
About This Checklist¶
This checklist is adapted from:
It assumes that you are using all features of Cookiecutter Poetry.