Skip to content

How To Release

Release Branch

Always create a release branch for the releases, for example branch release-0.5 is for all the v0.5.x versions release. If it's a new release branch, simply create a branch from main.

Release Steps

  1. Cherry-pick fixes to the release branch, skip this step if it's the first release in the branch.
  2. Run make test to make sure all test test cases pass locally.
  3. Push to remote branch, and make sure all the CI jobs pass.
  4. Run VERSION=v${x.y.z} make prepare-release to update version in manifests, where x.y.x is the expected new version.
  5. Follow the output of last step, to confirm if all the changes are expected, and then run VERSION=v${x.y.z} make release.
  6. Follow the output, push a new tag to the release branch, Github actions will automatically build and publish the new release, this will take around 10 minutes.
  7. Test the new release, make sure everything is running as expected, and then recreate a stable tag against the latest release.
  8. Find the new release tag, and edit the release notes.