You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/11/23 15:08:08 UTC

[arrow-datafusion] branch master updated: avoid SNAPSHOT in version (#1350)

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

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 645a7f4  avoid SNAPSHOT in version (#1350)
645a7f4 is described below

commit 645a7f484435d7182d88a541ac8cdf8b079b7714
Author: QP Hou <qp...@scribd.com>
AuthorDate: Tue Nov 23 07:08:01 2021 -0800

    avoid SNAPSHOT in version (#1350)
---
 benchmarks/Cargo.toml                   | 2 +-
 datafusion-examples/Cargo.toml          | 2 +-
 dev/release/verify-release-candidate.sh | 5 +++++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index 6f6e51d..4fc41b3 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 <de...@arrow.apache.org>"]
 homepage = "https://github.com/apache/arrow-datafusion"
diff --git a/datafusion-examples/Cargo.toml b/datafusion-examples/Cargo.toml
index 7367f02..bca0ec5 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 <de...@arrow.apache.org>"]
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 5ac7b23..9a0c9d3 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