Skip to content

Commit

Permalink
chore: update patching doc
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre committed Apr 18, 2024
1 parent 2ec2b4f commit ac06475
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/patching.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ If this is the first patch for a specific major version, you'll need to create a
Replace `<minor>` with the appropriate minor version number:

```bash
git checkout -b 0.<minor>.x v0.<minor>.0
git checkout -b 1.<minor>.x v1.<minor>.0
git log
git push --set-upstream origin 0.<minor>.x
git push --set-upstream origin 1.<minor>.x
```

Don't forget to update the patch version inside the [version.go](../version/version.go) file.

If you're not creating a new patch branch, switch to the existing patch branch:

```bash
git checkout 0.<minor>.x
git checkout 1.<minor>.x
git pull
```

Expand All @@ -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
Expand Down

0 comments on commit ac06475

Please sign in to comment.