-
Notifications
You must be signed in to change notification settings - Fork 1
Release checklist
Andreas Pedersen edited this page May 14, 2024
·
32 revisions
To release a new version of the code the following should be executed. In the example it is a minor release (1.7.2
)):
- Make a
pre-release
branch fromdevelop
to prepare the release- Set the version number in
src/easyreflectometry/__version__.py
(1.7.2
)
- Set the version number in
- Make a PR for
pre-release
->master
- merge with Create a merge commit strategy to keep all commits
- After merge
- Tag commit on
master
to be consistent with version numbervx.y.z
(v1.7.2
) - Under
Actions
on the GitHub Repo page make sure following pipelines were successful-
Publish Python Package
(deploys to PyPi) -
Build Documentation and Push to gh-pages Branch
(deploys to Docs page)
-
- Tag commit on
- Release new version on GitHub
- Go to
Releases
on the GitHub Repo - A draft for the new version has been created by
release-drafter
pipeline - Publish release by editing the draft
- Go to
- Delete
pre-release
- Merge
master
intodevelop
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