You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/06/29 06:09:54 UTC

[arrow] branch master updated: ARROW-5787: [Release][Rust] Use local modules to verify RC

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4d25902  ARROW-5787: [Release][Rust] Use local modules to verify RC
4d25902 is described below

commit 4d25902f3795597e89b38347ebfe41ab510b9d2e
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Sat Jun 29 15:09:44 2019 +0900

    ARROW-5787: [Release][Rust] Use local modules to verify RC
    
    Because we don't publish modules to crates.io yet.
    
    Author: Sutou Kouhei <ko...@clear-code.com>
    
    Closes #4747 from kou/release-verify-rust and squashes the following commits:
    
    c424af6b5 <Sutou Kouhei>  Use local modules to verify RC
---
 dev/release/verify-release-candidate.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 159d7dd..4310536 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -458,6 +458,14 @@ test_rust() {
   # we are targeting Rust nightly for releases
   rustup default nightly
 
+  # use local modules because we don't publish modules to crates.io yet
+  sed \
+    -i.bak \
+    -E \
+    -e 's/^arrow = "([^"]*)"/arrow = { version = "\1", path = "..\/arrow" }/g' \
+    -e 's/^parquet = "([^"]*)"/parquet = { version = "\1", path = "..\/parquet" }/g' \
+    */Cargo.toml
+
   # raises on any warnings
   RUSTFLAGS="-D warnings" cargo build
   cargo test