You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/releases.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,39 @@ Review the automatically created pull request(s) to ensure the cherry-pick was s
148
148
149
149
**Security Note:** The `release/*` branches are protected by branch protection rules. A pull request to one of these branches requires at least one review from a code owner before it can be merged. This ensures that no unauthorized code is released.
150
150
151
+
#### 2.5. Adding Multiple Commits to a Hotfix (Advanced)
152
+
153
+
If you need to include multiple fixes in a single patch release, you can add additional commits to the hotfix branch after the initial patch PR has been created:
154
+
155
+
1.**Start with the primary fix**: Use `/patch` (or `/patch both`) on the most important PR to create the initial hotfix branch and PR.
156
+
157
+
2.**Checkout the hotfix branch locally**:
158
+
159
+
```bash
160
+
git fetch origin
161
+
git checkout hotfix/v0.5.1/stable/cherry-pick-abc1234 # Use the actual branch name from the PR
5.**Test and review**: The existing patch PR will automatically update with your additional commits. Test thoroughly since you're now releasing multiple changes together.
179
+
180
+
6.**Update the PR description**: Consider updating the PR title and description to reflect that it includes multiple fixes.
181
+
182
+
This approach allows you to group related fixes into a single patch release while maintaining full control over what gets included and how conflicts are resolved.
183
+
151
184
#### 3. Automatic Release
152
185
153
186
Upon merging the pull request, the `Release: Patch (2) Trigger` workflow is automatically triggered. It will then start the `Release: Patch (3) Release` workflow, which will:
0 commit comments