This doc outlines how supervision is released into production.
It assumes you already have the code changes, as well as a draft of the release notes.
- Make sure you have all required changes were merged into
develop
. - Create and merge a PR, merging
develop
intomain
, containing:- A commit that updates the project version in
pyproject.toml
. - All changes made during the release.
- A commit that updates the project version in
- Tag the commit with the new supervision version.
- make sure to pull from
main
! - Verify that the latest merge commits exists.
git log
. - Run
git tag x.y.z
, with your version - Check with
git log
. - Run
git push origin --tags
- Upon pushing the tag, the PyPi should update to the new version. Check this!
- make sure to pull from
- Open and merge a PR, merging
main
intodevelop
. - Update the docs by running the Supervision Release Documentation Workflow 📚 workflow from GitHub.
- Select the
main
branch from the dropdown.
- Select the
- Create a release on GitHub.
- Go to releases
- Assign the release notes to the tag created in step 3.
- Publish the release.