-
Notifications
You must be signed in to change notification settings - Fork 1
Release checklist
Andreas Pedersen edited this page Mar 18, 2024
·
32 revisions
To release a new version of the code the following should be executed:
- Make a
pre-release
branch fromdevelop
to prepare the release- Set the version number in
pyproject.toml
- Set the version number in
- Make a PR for
pre-release
->main
, merge with SQUASH strategy to form single commit - After merge
- Make sure the
python-publish
pipeline was successful - Tag commit to be consistent with version number
vx.y.z
(fx.v1.7.2
)
- Make sure the
- Delete
pre-release
- Merge
main
intodevelop
- On GitHub create a new release in hand
Push to pre-release
or main
triggers:
- The package pipeline
python-package.yml
- Produce an artifact for each of the specified python versions
- Only used for testing the artifacts for the various python versions
Push to main
triggers:
- The build and publish pipeline
python-publish.yml
- Produce an artifact
- Publish it to PyPI
- The documentation build and deploy pipeline
documentation-deploy.yml
- Produce the sphinx documentation
- Push the produced documentation to
gh-pages
branch