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

fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new bb078cf3 Add instruction for patch release (#1373)
bb078cf3 is described below

commit bb078cf327e1d1a89bc70b2458eafda2513b64c9
Author: Kevin Liu <[email protected]>
AuthorDate: Tue Nov 26 03:04:59 2024 -0500

    Add instruction for patch release (#1373)
    
    * add instruction for patch release
    
    * create branch from tag
---
 mkdocs/docs/how-to-release.md | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md
index b461e007..bea55487 100644
--- a/mkdocs/docs/how-to-release.md
+++ b/mkdocs/docs/how-to-release.md
@@ -87,11 +87,14 @@ Update the version in `pyproject.toml` and 
`pyiceberg/__init__.py` to match the
 To create a patch branch from the latest release tag:
 
 ```bash
-# Check out the base branch for the patch version
-git checkout pyiceberg-0.8.x
+# Fetch all tags
+git fetch --tags
 
-# Create a new branch for the upcoming patch release
-git checkout -b pyiceberg-0.8.1
+# Assuming 0.8.0 is the latest release tag
+git checkout -b pyiceberg-0.8.x pyiceberg-0.8.0
+
+# Cherry-pick commits for the upcoming patch release
+git cherry-pick <commit>
 ```
 
 ### Create Tag

Reply via email to