Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 784 Bytes

RELEASE.md

File metadata and controls

25 lines (19 loc) · 784 Bytes

How to prepare a release

To prepare Python-Relion releases we use the package bump2version:

pip install bump2version

and then, in the repository directory, run one of the following

# assuming current version is 1.2.3
bumpversion patch  # release version 1.2.4
bumpversion minor  # release version 1.3.0
bumpversion major  # release version 2.0.0

This automatically creates a release commit and a release tag. You then need to push both to the Github repository:

git push  # pushes the release commit
git push origin v2.0.0  # pushes the release tag for version 2.0.0

Assuming the tests pass the release is then created by Azure and uploaded directly onto pypi.