Path: blob/main/docs/developer/release/1-create-release-branch.md
4096 views
Create Release Branch
A single release branch is created for every major or minor release. That release branch is then used for all Release Candidates, the Stable Release, and all Patch Releases for that major pr minor version of the agent.
Before you begin
Determine the VERSION_PREFIX.
Steps
Determine which commit should be used as a base for the release branch.
Create and push the release branch from the selected base commit:
The name of the release branch should be
release-VERSION_PREFIX
defined above, such asrelease-v0.31
.If the consensus commit is the latest commit from main you can branch from main.
If the consensus commit is not the latest commit from main, branch from that instead.
NOTE: Don't create any other branches that are prefixed with
release
when creating PRs or those branches will collide with our automated release build publish rules.