From a8ee09a3a6a4cf3140c0ea8b2c3eac7b057c1090 Mon Sep 17 00:00:00 2001 From: Yi Chen Date: Tue, 23 Jul 2024 10:40:32 +0800 Subject: [PATCH] Update Signed-off-by: Yi Chen --- docs/release.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/release.md b/docs/release.md index fcafb7c41..26ebfeee4 100644 --- a/docs/release.md +++ b/docs/release.md @@ -52,14 +52,7 @@ If you want to push changes to the `release-X.Y` release branch, you have to che ### Create GitHub tag -1. After the above PR is merged, rebase your release branch: - - ```bash - git fetch upstream - git rebase upstream/release-X.Y - ``` - -2. Modify `VERSION` file in the root directory of the project: +1. Modify `VERSION` file in the root directory of the project: - For the RC tag as follows: @@ -73,11 +66,19 @@ If you want to push changes to the `release-X.Y` release branch, you have to che vX.Y.Z ``` -3. Commit the changes: +2. Modify `version` and `appVersion` in `Chart.yaml`: ```bash VERSION=$(cat VERSION) + sed -i "s/^version.*/version: ${VERSION}/" charts/spark-operator-chart/Chart.yaml + sed -i "s/^appVersion.*/appVersion: ${VERSION}/" charts/spark-operator-chart/Chart.yaml + ``` + +3. Commit the changes: + + ```bash git add VERSION + git add charts/spark-operator-chart/Chart.yaml git commit -s -m "Release $VERSION" git push ```