This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new 0c0fbd2 Docs: Add section on fetching the remote (#421)
0c0fbd2 is described below
commit 0c0fbd2487b74850621c9580b8c27fc030e18e6e
Author: Fokko Driesprong <[email protected]>
AuthorDate: Tue Feb 13 23:19:40 2024 +0100
Docs: Add section on fetching the remote (#421)
Before creating the tag
---
mkdocs/docs/how-to-release.md | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md
index 9cecad2..5a2072e 100644
--- a/mkdocs/docs/how-to-release.md
+++ b/mkdocs/docs/how-to-release.md
@@ -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