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 5504263  ARROW-4305: [Rust] Fix parquet version number in README
5504263 is described below

commit 5504263d703a7f51e45671b37581da305e7fee85
Author: Chao Sun <[email protected]>
AuthorDate: Mon Jan 21 06:07:17 2019 +0900

    ARROW-4305: [Rust] Fix parquet version number in README
    
    Author: Chao Sun <[email protected]>
    
    Closes #3437 from sunchao/fix-parquet-version and squashes the following 
commits:
    
    055e1689 <Chao Sun> Add steps in 00-prepare.sh to update parquet README 
version number
    515cf211 <Chao Sun> ARROW-4305:  Fix parquet version number in README
---
 dev/release/00-prepare.sh | 10 ++++++++++
 rust/parquet/README.md    |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev/release/00-prepare.sh b/dev/release/00-prepare.sh
index d57c517..fbaf6c1 100755
--- a/dev/release/00-prepare.sh
+++ b/dev/release/00-prepare.sh
@@ -103,6 +103,16 @@ update_versions() {
     arrow/Cargo.toml parquet/Cargo.toml
   rm -f arrow/Cargo.toml.bak parquet/Cargo.toml.bak
   git add arrow/Cargo.toml parquet/Cargo.toml
+
+  # Update version number for parquet README
+  sed -i.bak -E -e \
+      "s/^parquet = \".+\"/parquet = \"${version}\"/g" \
+      parquet/README.md
+  sed -i.bak -E -e \
+      
"s/docs.rs\/crate\/parquet\/.+\)/docs.rs\/crate\/parquet\/${version}\)/g" \
+      parquet/README.md
+  rm -f parquet/README.md.bak
+  git add parquet/README.md
   cd -
 }
 
diff --git a/rust/parquet/README.md b/rust/parquet/README.md
index de82186..c396000 100644
--- a/rust/parquet/README.md
+++ b/rust/parquet/README.md
@@ -23,7 +23,7 @@
 Add this to your Cargo.toml:
 ```toml
 [dependencies]
-parquet = "0.4"
+parquet = "0.12"
 ```
 
 and this to your crate root:
@@ -44,7 +44,7 @@ while let Some(record) = iter.next() {
     println!("{}", record);
 }
 ```
-See [crate documentation](https://docs.rs/crate/parquet/0.4.2) on available 
API.
+See [crate documentation](https://docs.rs/crate/parquet/0.12) on available API.
 
 ## Supported Parquet Version
 - Parquet-format 2.4.0

Reply via email to