- Branch into new release branch named
release_vX.Y.Z
- Merge all changes into the release branch
- Make sure all unit tests and doc tests are passing successfully on the GitLab server
- Update the change log (
docs/source/versions/changelog.rst
)
- Update the version number in
setup.py
and docs/source/conf.py
- Build the documentation:
- Review the documentation
- Create a merge request for the release branch into the master branch (Note: Do not select
Delete source branch
)
- Once this merge request has been reviewed and accepted, upload the new version to PyPI:
python setup.py sdist bdist_wheel
twine upload dist/ketos-X.Y.Z.tar.gz
- Finally, upload the documentation to the docs server: