Skip to content

Make a release

Carsten Fortmann-Grote edited this page Mar 26, 2024 · 2 revisions

1. Merge all feature branches into main branch

2. Check syntax and formatting locally (Check-syntax-and-code-formatting, fix if needed.

3. Run tests locally (Testing), fix if needed

4. Edit CHANGELOG.md

5. Bump version:

$ bumpversion major|minor|patch

This will increment the version number in all files that define a version string, such as <package>/__index__.py and docs/source/conf.py, add and commit AND tag the commit with the new version.

6. Push the tagged version to github (no need to commit again!)

$ git push --follow-tags origin main