-
Use
bump2version
to bump the version number.- If a minor / major version is needed:
bump2version minor
orbump2version major
- Then release the version:
bump2version release
- If a minor / major version is needed:
-
Edit the
CHANGELOG.md
file.- Change unreleased to the version number you are releasing.
- Add
(YYYY-MM-DD)
date next to version number. - Add link to the full changelog.
-
Commit and push the changes.
-
Make a release on GitHub (and create a tag). This will automatically upload the new package to PyPI.
-
Publish the new version on Readthedocs.
-
Use
bump2version
to create a new beta version:bump2version patch