Skip to content

Commit 0c0fbd2

Browse files
authored
Docs: Add section on fetching the remote (#421)
Before creating the tag
1 parent fbdf04b commit 0c0fbd2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

mkdocs/docs/how-to-release.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,17 @@ Make sure that the version is correct in `pyproject.toml` and `pyiceberg/__init_
2929

3030
### Setting the tag
3131

32-
First set the tag on the commit:
32+
Make sure that you're on the right branch, and the latest branch:
33+
34+
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`.
35+
36+
```bash
37+
git checkout <branch>
38+
git fetch --all
39+
git reset --hard apache/<branch>
40+
```
41+
42+
Set the tag on the last commit:
3343

3444
```bash
3545
export RC=rc1

0 commit comments

Comments
 (0)