This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 29a676248c [#7020] improvement(build): Update rust module in the
release script (#7022)
29a676248c is described below
commit 29a676248cd897351c445bc1a41f6191f43fcd6e
Author: roryqi <[email protected]>
AuthorDate: Tue Apr 22 13:10:08 2025 +0800
[#7020] improvement(build): Update rust module in the release script (#7022)
### 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.
---
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