Skip to content

Apache DataFusion SQL Query Engine

ARROW-7253: [CI] Fix failure in release test

Andy Grove50956d40eec9
diff --git a/dev/release/00-prepare-test.rb b/dev/release/00-prepare-test.rb
index 5ab032d0b5..9cb6416833 100644
--- a/dev/release/00-prepare-test.rb
+++ b/dev/release/00-prepare-test.rb
@@ -191,14 +191,14 @@ class PrepareTest < Test::Unit::TestCase
],
},
{
- path: "rust/arrow/Cargo.toml",
+ path: "rust/arrow-flight/Cargo.toml",
hunks: [
["-version = \"#{@snapshot_version}\"",
"+version = \"#{@release_version}\""],
],
},
{
- path: "rust/arrow-flight/Cargo.toml",
+ path: "rust/arrow/Cargo.toml",
hunks: [
["-version = \"#{@snapshot_version}\"",
"+version = \"#{@release_version}\""],
@@ -369,14 +369,14 @@ class PrepareTest < Test::Unit::TestCase
],
},
{
- path: "rust/arrow/Cargo.toml",
+ path: "rust/arrow-flight/Cargo.toml",
hunks: [
["-version = \"#{@release_version}\"",
"+version = \"#{@next_snapshot_version}\""],
],
},
{
- path: "rust/arrow-flight/Cargo.toml",
+ path: "rust/arrow/Cargo.toml",
hunks: [
["-version = \"#{@release_version}\"",
"+version = \"#{@next_snapshot_version}\""],
diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index aec325aa21..52fdab77bc 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -149,6 +149,7 @@ update_versions() {
sed -i.bak -E \
-e "s/^version = \".+\"/version = \"${version}\"/g" \
-e "s/^(arrow = .* version = )\".+\"( .*)/\\1\"${version}\"\\2/g" \
+ -e "s/^(arrow-flight = .* version = )\".+\"( .*)/\\1\"${version}\"\\2/g" \
-e "s/^(parquet = .* version = )\".+\"( .*)/\\1\"${version}\"\\2/g" \
*/Cargo.toml
rm -f */Cargo.toml.bak