This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new 84edd4accf [#7129] fix(build): Fix the version of chart values (#7134)
84edd4accf is described below

commit 84edd4accf1b7122e6f53085c9c03724c90da3d1
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu May 8 18:30:17 2025 +0800

    [#7129] fix(build): Fix the version of chart values (#7134)
    
    ### What changes were proposed in this pull request?
    
    Fix the version of chart values
    
    ### Why are the changes needed?
    
    Fix: #7129
    
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    By hand.
    
    Co-authored-by: roryqi <[email protected]>
---
 dev/release/release-tag.sh | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev/release/release-tag.sh b/dev/release/release-tag.sh
index 69d7202fe9..1612a2e1f2 100755
--- a/dev/release/release-tag.sh
+++ b/dev/release/release-tag.sh
@@ -84,13 +84,14 @@ sed -i".tmp1" 's/version = .*$/version = 
'"$RELEASE_VERSION"'/g' gradle.properti
 sed -i".tmp2" 's/    version=.*$/    
version="'"$PYGRAVITINO_RELEASE_VERSION"'",/g' clients/client-python/setup.py
 sed -i".tmp3" 's/^version = .*$/version = \"'"$RELEASE_VERSION"'\"/g' 
clients/filesystem-fuse/Cargo.toml
 sed -i".tmp4" 's/^appVersion: .*$/appVersion: '"$RELEASE_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
+sed -i".tmp5" '22s/  tag: .*$/  tag: '"$RELEASE_VERSION"'/g' 
dev/charts/gravitino/values.yaml
 
 CHART_VERSION=$(grep -e '^version: .*' dev/charts/gravitino/Chart.yaml | cut 
-d':' -f2 | sed 's/^ *//;s/ *$//')
 CHART_SHORT_VERSION=$(echo "$CHART_VERSION" | cut -d . -f 1-2)
 CHART_REV=$(echo "$CHART_VERSION" | cut -d . -f 3 | cut -d '-' -f 1)
 CHART_REV=$((CHART_REV + 1))
 NEXT_CHART_VERSION="${CHART_SHORT_VERSION}.${CHART_REV}"
-sed -i".tmp5" 's/^version: .*$/version: '"$NEXT_CHART_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
+sed -i".tmp6" 's/^version: .*$/version: '"$NEXT_CHART_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
 
 
 # update docs version
@@ -101,13 +102,14 @@ echo "Creating tag $RELEASE_TAG at the head of 
$GIT_BRANCH"
 git tag $RELEASE_TAG
 
 # Create next version
-sed -i".tmp6" 's/version = .*$/version = '"$NEXT_VERSION"'/g' gradle.properties
-sed -i".tmp7" 's/    version=.*$/    
version="'"$PYGRAVITINO_NEXT_VERSION"'",/g' clients/client-python/setup.py
-sed -i".tmp8" 's/^version = .*$/version = \"'"$NEXT_VERSION"'\"/g' 
clients/filesystem-fuse/Cargo.toml
-sed -i".tmp9" 's/appVersion: .*$/appVersion: '"$NEXT_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
+sed -i".tmp7" 's/version = .*$/version = '"$NEXT_VERSION"'/g' gradle.properties
+sed -i".tmp8" 's/    version=.*$/    
version="'"$PYGRAVITINO_NEXT_VERSION"'",/g' clients/client-python/setup.py
+sed -i".tmp9" 's/^version = .*$/version = \"'"$NEXT_VERSION"'\"/g' 
clients/filesystem-fuse/Cargo.toml
+sed -i".tmp10" 's/appVersion: .*$/appVersion: '"$NEXT_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
+sed -i".tmp11" '22s/  tag: .*$/  tag: '"$NEXT_VERSION"'/' 
dev/charts/gravitino/values.yaml
 CHART_REV=$((CHART_REV + 1))
 NEXT_CHART_VERSION="${CHART_SHORT_VERSION}.${CHART_REV}"
-sed -i".tmp10" 's/^version: .*$/version: '"$NEXT_CHART_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
+sed -i".tmp12" 's/^version: .*$/version: '"$NEXT_CHART_VERSION"'/g' 
dev/charts/gravitino/Chart.yaml
 
 git commit -a -m "Preparing development version $NEXT_VERSION"
 

Reply via email to