From 1dabd5d8261bbf3c311850335ded033271421801 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Tue, 13 Feb 2024 20:35:04 +0100 Subject: [PATCH] docs: Add section on fetching the remote 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 9cecad2d5d..5a2072ec03 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 +git fetch --all +git reset --hard apache/ +``` + +Set the tag on the last commit: ```bash export RC=rc1