- Install bumpversion. The easiest way is to create and activate a virtualenv,
and then run
pip install -r requirements_dev.txt
.
- Add an entry to
HISTORY.rst
, or update theUnreleased
entry, with the new version and the date of release. Include any bug fixes, features, or backwards incompatibilities included in this release. - Commit the changes to
HISTORY.rst
. - Run bumpversion to update the version string in
umongo/__init__.py
andsetup.py
.- You can combine this step and the previous one by using the
--allow-dirty
flag when running bumpversion to make a single release commit.
- You can combine this step and the previous one by using the
- Run
git push
to push the release commits to github. - Once the CI tests pass, run
git push --tags
to push the tag to github and trigger the release to pypi.