Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: hejianpeng <[email protected]>
  • Loading branch information
zirain committed Apr 21, 2023
1 parent e888ab1 commit efdd784
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/latest/dev/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,36 @@ export GITHUB_REMOTE=origin
18. Ensure you check the "This is a pre-release" checkbox when editing the GitHub release.
19. If you find any bugs in this process, please create an issue.

### Setup cherry picker action

After release branch cut, RM (Release Manager) should add job [cherrypick action](.github/workflows/cherrypick.yaml) for target release.

Configuration looks like following:
```yaml
cherry_pick_release_v0_4:
runs-on: ubuntu-latest
name: Cherry pick into release-v0.4
if: ${{ contains(github.event.pull_request.labels.*.name, 'cherrypick/release-v0.4') && github.event.pull_request.merged == true }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cherry pick into release/v0.4
uses: carloscastrojumo/[email protected]
with:
branch: release/v0.4
title: "[release/v0.4] {old_title}"
body: "Cherry picking #{old_pull_request_id} onto release/v0.4"
labels: |
cherrypick/release-v0.4
# put release manager here
reviewers: |
AliceProxy
```

Replace `v0.4` with real branch name, and `AliceProxy` with the real name of RM.

## Minor Release

The following steps should be used for creating a minor release.
Expand Down

0 comments on commit efdd784

Please sign in to comment.