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

roryqi 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 0ad32675a0 [#7020] improvement(build): Update rust module in the 
release script (#7031)
0ad32675a0 is described below

commit 0ad32675a0225dc0887931961df17ec3d81c6eee
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Apr 22 14:07:59 2025 +0800

    [#7020] improvement(build): Update rust module in the release script (#7031)
    
    ### What changes were proposed in this pull request?
    
    Update rust module in the release script
    
    ### Why are the changes needed?
    
    Fix: #7020
    
    ### 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 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev/release/release-tag.sh b/dev/release/release-tag.sh
index 112ab8353d..09ce6d26b4 100755
--- a/dev/release/release-tag.sh
+++ b/dev/release/release-tag.sh
@@ -79,9 +79,10 @@ git config user.email "$GIT_EMAIL"
 PYGRAVITINO_RELEASE_VERSION="${RELEASE_VERSION/-incubating}"
 PYGRAVITINO_NEXT_VERSION=$(echo $NEXT_VERSION | sed 
's/-incubating-SNAPSHOT/.dev0/')
 
-# Create release version for Java and Python
+# Create release version for Java, Python and Rust
 sed -i".tmp1" 's/version = .*$/version = '"$RELEASE_VERSION"'/g' 
gradle.properties
 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
 
 # update docs version
 "$SELF/update-java-doc-version.sh" "$RELEASE_VERSION" "$SELF/gravitino"
@@ -91,8 +92,9 @@ echo "Creating tag $RELEASE_TAG at the head of $GIT_BRANCH"
 git tag $RELEASE_TAG
 
 # Create next version
-sed -i".tmp3" 's/version = .*$/version = '"$NEXT_VERSION"'/g' gradle.properties
-sed -i".tmp4" 's/    version=.*$/    
version="'"$PYGRAVITINO_NEXT_VERSION"'",/g' clients/client-python/setup.py
+sed -i".tmp4" 's/version = .*$/version = '"$NEXT_VERSION"'/g' gradle.properties
+sed -i".tmp5" 's/    version=.*$/    
version="'"$PYGRAVITINO_NEXT_VERSION"'",/g' clients/client-python/setup.py
+sed -i".tmp6" 's/^version = .*$/version = \"'"$NEXT_VERSION"'\"/g' 
clients/filesystem-fuse/Cargo.toml
 git commit -a -m "Preparing development version $NEXT_VERSION"
 
 if ! is_dry_run; then

Reply via email to