You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2024/04/03 15:39:18 UTC

(beam) 01/01: Add patch release docs

This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch users/damccorm/patch-release-docs
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 88dd43a2b675fe68b4b7fac6140fd5335094b978
Author: Danny McCormick <da...@google.com>
AuthorDate: Wed Apr 3 11:39:11 2024 -0400

    Add patch release docs
---
 contributor-docs/release-guide.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/contributor-docs/release-guide.md b/contributor-docs/release-guide.md
index 7b59351321c..f1d91a295bf 100644
--- a/contributor-docs/release-guide.md
+++ b/contributor-docs/release-guide.md
@@ -1390,3 +1390,23 @@ Perhaps parts of this guide can be clarified.
 
 If we have specific ideas, please start a discussion on the dev@ mailing list and/or propose a pull request to update this guide.
 Thanks!
+
+# Patch Releases
+
+The above document assumes a minor version bump cut off of the master branch. If you want to do a patch release cut off of a previous release branch, use the following steps:
+
+- Create a new release branch:
+
+```
+git clone https://github.com/apache/beam
+cd beam
+git fetch origin release-2.XX.0
+git checkout release-2.XX.0
+git checkout -b release-2.XX.1
+git push origin release-2.XX.1
+```
+
+- Add a PR to add the new release branch to the set of protected branches in .asf.yml - [example PR](https://github.com/apache/beam/pull/30832)
+- Add a PR to bump the Dataflow containers versions - [example PR](https://github.com/apache/beam/pull/30827)
+- Create PRs to cherry-pick any desired commits to the release branch
+- Follow the normal steps to build/vote/validate/finalize the release candidate that are listed above.