From 35152bf05e6248c2405ead9d5e824bb12922adbb Mon Sep 17 00:00:00 2001 From: Yi Chen Date: Wed, 24 Jul 2024 10:40:30 +0800 Subject: [PATCH] Remove the leading 'v' from chart version Signed-off-by: Yi Chen --- docs/release.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release.md b/docs/release.md index 26ebfeee4..d3a385b60 100644 --- a/docs/release.md +++ b/docs/release.md @@ -69,7 +69,8 @@ If you want to push changes to the `release-X.Y` release branch, you have to che 2. Modify `version` and `appVersion` in `Chart.yaml`: ```bash - VERSION=$(cat VERSION) + # Get version and remove the leading 'v' + VERSION=$(cat VERSION | sed "s/^v//") sed -i "s/^version.*/version: ${VERSION}/" charts/spark-operator-chart/Chart.yaml sed -i "s/^appVersion.*/appVersion: ${VERSION}/" charts/spark-operator-chart/Chart.yaml ```