Skip to content

Commit

Permalink
Docs: Add section on fetching the remote (#421)
Browse files Browse the repository at this point in the history
Before creating the tag
  • Loading branch information
Fokko authored Feb 13, 2024
1 parent fbdf04b commit 0c0fbd2
Showing 1 changed file with 11 additions and 1 deletion.
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

0 comments on commit 0c0fbd2

Please sign in to comment.