You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ke...@apache.org on 2024/11/27 20:43:10 UTC

(iceberg-python) 10/12: Add instruction for patch release (#1373)

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

kevinjqliu pushed a commit to branch pyiceberg-0.8.x
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git

commit 92f36ce5bfc08556bcdc4d732bb2c7d50dfd398e
Author: Kevin Liu <ke...@users.noreply.github.com>
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