Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion mkdocs/docs/how-to-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,17 @@ Make sure that the version is correct in `pyproject.toml` and `pyiceberg/__init_

### Setting the tag

First set the tag on the commit:
Make sure that you're on the right branch, and the latest branch:

For a Major/Minor release, make sure that you're on `main`, for patch versions the branch corresponding to the version that you want to patch, i.e. `pyiceberg-0.6.x`.

```bash
git checkout <branch>
git fetch --all
git reset --hard apache/<branch>
```

Set the tag on the last commit:

```bash
export RC=rc1
Expand Down