Skip to content

Apache DataFusion SQL Query Engine

ARROW-3885: [Rust] Release prepare step should increment Rust version

Andy Grove2f4046a872d5
diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index 9282cbfd27..5ff4ddc8f2 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -76,6 +76,15 @@ if [ "$#" -eq 2 ]; then
git commit -m "[Release] Update .deb package names for $nextVersion"
cd -
+ echo "prepare release ${version} in Rust crate"
+
+ cd "${SOURCE_DIR}/../../rust"
+ sed -i.bak -r -e "s/version = \"$version\"/version = \"$nextVersion\"/g" Cargo.toml
+ rm -f Cargo.toml.bak
+ git add Cargo.toml
+ git commit -m "[Release] Update Rust Cargo.toml version for $nextVersion"
+ cd -
+
echo "Finish staging binary artifacts by running: sh dev/release/01-perform.sh"
else
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index b56cd6fb30..39de50c8a3 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "arrow"
-version = "0.10.0"
+version = "0.11.0"
description = "Rust implementation of Apache Arrow"
homepage = "https://github.com/apache/arrow"
repository = "https://github.com/apache/arrow"