Skip to content

Commit

Permalink
Add instruction for patch release (apache#1373)
Browse files Browse the repository at this point in the history
* add instruction for patch release

* create branch from tag
  • Loading branch information
kevinjqliu authored and sungwy committed Dec 7, 2024
1 parent deef664 commit 4830c4b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions mkdocs/docs/how-to-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4830c4b

Please sign in to comment.