diff --git a/docs/developer/release/1-create-release-branch.md b/docs/developer/release/1-create-release-branch.md index 91a6ed0b3a..5e7a3c6508 100644 --- a/docs/developer/release/1-create-release-branch.md +++ b/docs/developer/release/1-create-release-branch.md @@ -14,13 +14,13 @@ Patch Releases for that major pr minor version of the agent. 2. 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 as `release-v0.31`. + The name of the release branch should be `release/VERSION_PREFIX` + defined above, such as `release/v0.31`. - > **NOTE**: Branches are only made for VERSION_PREFIX; do not create branches for the full VERSION such as `release-v0.31-rc.0` or `release-v0.31.0`. + > **NOTE**: Branches are only made for VERSION_PREFIX; do not create branches for the full VERSION such as `release/v0.31-rc.0` or `release/v0.31.0`. - 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. \ No newline at end of file + those branches will collide with our automated release build publish rules. diff --git a/docs/developer/release/3-update-version-in-code.md b/docs/developer/release/3-update-version-in-code.md index b3de341873..73026115de 100644 --- a/docs/developer/release/3-update-version-in-code.md +++ b/docs/developer/release/3-update-version-in-code.md @@ -40,7 +40,7 @@ The project must be updated to reference the upcoming release tag whenever a new - Stable Release example PR [here](https://github.com/grafana/agent/pull/3119) - Patch Release example PR [here](https://github.com/grafana/agent/pull/3191) -4. Create a branch from `release-VERSION_PREFIX` for [grafana/agent](https://github.com/grafana/agent). +4. Create a branch from `release/VERSION_PREFIX` for [grafana/agent](https://github.com/grafana/agent). 5. Cherry pick the commit on main from the merged PR in Step 3 from main into the new branch from Step 4: @@ -50,9 +50,9 @@ The project must be updated to reference the upcoming release tag whenever a new Delete the `Main (unreleased)` header and anything underneath it as part of the cherry-pick. Alternatively, do it after the cherry-pick is completed. -6. Create a PR to merge to `release-VERSION_PREFIX` (must be merged before continuing). +6. Create a PR to merge to `release/VERSION_PREFIX` (must be merged before continuing). - Release Candidate example PR [here](https://github.com/grafana/agent/pull/3066) - Stable Release example PR [here](https://github.com/grafana/agent/pull/3123) - Patch Release example PR [here](https://github.com/grafana/agent/pull/3193) - - The `CHANGELOG.md` was updated in cherry-pick commits prior for this example. Make sure it is all set on this PR. \ No newline at end of file + - The `CHANGELOG.md` was updated in cherry-pick commits prior for this example. Make sure it is all set on this PR.