Skip to content

Apache DataFusion SQL Query Engine

avoid SNAPSHOT in version (#1350)

QP Hou645a7f484435
diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index 6f6e51d1de..4fc41b33a7 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -18,7 +18,7 @@
[package]
name = "arrow-benchmarks"
description = "Apache Arrow Benchmarks"
-version = "4.0.0-SNAPSHOT"
+version = "5.0.0"
edition = "2021"
authors = ["Apache Arrow <[email protected]>"]
homepage = "https://github.com/apache/arrow-datafusion"
diff --git a/datafusion-examples/Cargo.toml b/datafusion-examples/Cargo.toml
index 7367f02c81..bca0ec5660 100644
--- a/datafusion-examples/Cargo.toml
+++ b/datafusion-examples/Cargo.toml
@@ -18,7 +18,7 @@
[package]
name = "datafusion-examples"
description = "DataFusion usage examples"
-version = "4.0.0-SNAPSHOT"
+version = "5.0.0"
homepage = "https://github.com/apache/arrow-datafusion"
repository = "https://github.com/apache/arrow-datafusion"
authors = ["Apache Arrow <[email protected]>"]
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 5ac7b235f2..9a0c9d3d0b 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -130,6 +130,11 @@ test_source_distribution() {
cargo build
cargo test --all
+ if ( find -iname 'Cargo.toml' | xargs grep SNAPSHOT ); then
+ echo "Cargo.toml version should not contain SNAPSHOT for releases"
+ exit 1
+ fi
+
pushd datafusion
cargo publish --dry-run
popd