From 7128878db7b785796f1003494c0622a182f1989c Mon Sep 17 00:00:00 2001 From: Amir Babazadeh Date: Mon, 11 Dec 2023 23:51:51 +0330 Subject: [PATCH] chore: bumping version to 0.19.0 (#854) --- docs/patching.md | 10 +++++----- docs/releasing.md | 12 ++++++------ version/version.go | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/patching.md b/docs/patching.md index 08f376206..0cf903eac 100644 --- a/docs/patching.md +++ b/docs/patching.md @@ -7,13 +7,13 @@ To patch a released version, start by creating a dedicated branch for that versi Let's create environment variables for the patch version. For the rest of this document, we will use these environment variables in the commands. ```bash -PRV_VER="0.17.0" -CUR_VER="0.17.0" -NEXT_VER="0.17.1" +PRV_VER="0.18.0" +CUR_VER="0.18.0" +NEXT_VER="0.18.1" TAG_NAME="v${CUR_VER}" TAG_MSG="Version ${CUR_VER}" -BASE_BRANCH="0.17.x" -BASE_VER="0.17.0" +BASE_BRANCH="0.18.x" +BASE_VER="0.18.0" ``` For the rest of this document, we will use these environment variables in commands. diff --git a/docs/releasing.md b/docs/releasing.md index 19d7b6a76..2165ba4b2 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -32,9 +32,9 @@ Let's create environment variables for the release version. For the rest of this document, we will use these environment variables in the commands. ```bash -PRV_VER="0.17.0" -CUR_VER="0.18.0" -NEXT_VER="0.19.0" +PRV_VER="0.18.0" +CUR_VER="0.19.0" +NEXT_VER="0.20.0" TAG_NAME="v${CUR_VER}" TAG_MSG="Version ${CUR_VER}" BASE_BRANCH="main" @@ -82,7 +82,7 @@ Wait for the PR to be approved and merged into the base branch. 7. **Tagging** -Create a git tag: +Create a Git tag and sign it using your [GPG key](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) with the following commands: ```bash git checkout ${BASE_BRANCH} @@ -109,8 +109,8 @@ Pushing the tag will automatically create a release tag and build the binaries. 9. **Bumping version** Update the version inside the [version.go](../version/version.go) and add `beta` to the `meta` field. -Update [patching](./patching.md) docuemnt. -If this is a majore release, update the version inside this document in step 3. +Update [patching](./patching.md) document. +If this is a major release, update the version inside this document in step 3. Create a new PR against base branch: diff --git a/version/version.go b/version/version.go index 45c1630ff..0aa8ef43d 100644 --- a/version/version.go +++ b/version/version.go @@ -10,9 +10,9 @@ import ( // These constants follow the semantic versioning 2.0.0 spec (http://semver.org/) const ( major uint = 0 - minor uint = 18 + minor uint = 19 patch uint = 0 - meta string = "" + meta string = "beta" protocolVersion uint = 1 )