Skip to content

Commit

Permalink
Fix verify_release_candidate.sh for new arrow subcrates (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Sep 16, 2022
1 parent 5a55406 commit ca00b67
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,16 @@ test_source_distribution() {
export ARROW_TEST_DATA=$PWD/arrow-testing-data/data
export PARQUET_TEST_DATA=$PWD/parquet-testing-data/data

# 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

(cd arrow && cargo build && cargo test)
(cd arrow-flight && cargo build && cargo test)
(cd parquet && cargo build && cargo test)
(cd parquet_derive && cargo build && cargo test)

# verify that the crates can be published to crates.io
pushd arrow
# verify that the leaf crates can be published to crates.io
# we can't verify crates that depend on others
# (because the others haven't yet been published to crates.io)

pushd arrow-buffer
cargo publish --dry-run
popd

Expand Down

0 comments on commit ca00b67

Please sign in to comment.