Skip to content

Commit bb078cf

Browse files
authored
Add instruction for patch release (apache#1373)
* add instruction for patch release * create branch from tag
1 parent d5fa615 commit bb078cf

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

mkdocs/docs/how-to-release.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,14 @@ Update the version in `pyproject.toml` and `pyiceberg/__init__.py` to match the
8787
To create a patch branch from the latest release tag:
8888

8989
```bash
90-
# Check out the base branch for the patch version
91-
git checkout pyiceberg-0.8.x
90+
# Fetch all tags
91+
git fetch --tags
9292

93-
# Create a new branch for the upcoming patch release
94-
git checkout -b pyiceberg-0.8.1
93+
# Assuming 0.8.0 is the latest release tag
94+
git checkout -b pyiceberg-0.8.x pyiceberg-0.8.0
95+
96+
# Cherry-pick commits for the upcoming patch release
97+
git cherry-pick <commit>
9598
```
9699

97100
### Create Tag

0 commit comments

Comments
 (0)