From ceb4d1353e3648c5ae6062542c14d33a1f089394 Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 6 Dec 2021 23:42:48 +0800 Subject: [PATCH] update the release process doc --- doc/development/release-process.md | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/doc/development/release-process.md b/doc/development/release-process.md index eaf70de16..12c2d9e4c 100644 --- a/doc/development/release-process.md +++ b/doc/development/release-process.md @@ -1,7 +1,30 @@ # Release Process -```sh -make version VERSION=v1.18.2 +## 1. Prepare the release note + +You need to prepare the release note for your next release version. + +The release notes are placed in the `doc/release` directory. + +If your next version is `v1.20.2`, then you should put the release note in the following file: + +``` +doc/release/v1.20.2.md ``` -go to to modify the changelog +## 2. Make the release + +Run the following command to create the release: + +```sh +make version VERSION=v1.20.2 +``` + +The above command wilL: + +- Update and compile the migration scripts into go files. +- Bump the version name in the go code. +- Run git tag to create the tag. +- Run git push to push the created tag. + +You can go to to modify the changelog