From ac064750b26a6ac262e559af49fd46e7420a120a Mon Sep 17 00:00:00 2001 From: mantre Date: Thu, 18 Apr 2024 18:45:05 +0800 Subject: [PATCH] chore: update patching doc --- docs/patching.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/patching.md b/docs/patching.md index cc428bd7a..556c0beae 100644 --- a/docs/patching.md +++ b/docs/patching.md @@ -14,9 +14,9 @@ If this is the first patch for a specific major version, you'll need to create a Replace `` with the appropriate minor version number: ```bash -git checkout -b 0..x v0..0 +git checkout -b 1..x v1..0 git log -git push --set-upstream origin 0..x +git push --set-upstream origin 1..x ``` Don't forget to update the patch version inside the [version.go](../version/version.go) file. @@ -24,7 +24,7 @@ Don't forget to update the patch version inside the [version.go](../version/vers If you're not creating a new patch branch, switch to the existing patch branch: ```bash -git checkout 0..x +git checkout 1..x git pull ``` @@ -46,12 +46,12 @@ create environment variables for the release version, which will be used in subs Keep your terminal open for further steps. ```bash -PRV_VER="1.0.0" -CUR_VER="1.0.1" -NEXT_VER="1.0.2" +PRV_VER="1.1.0" +CUR_VER="1.1.1" +NEXT_VER="1.1.2" TAG_NAME="v${CUR_VER}" TAG_MSG="Version ${CUR_VER}" -BASE_BRANCH="0.21.x" +BASE_BRANCH="1.1.x" ``` ## 5. Follow the Releasing Document