Skip to content

Commit ca00b67

Browse files
authored
Fix verify_release_candidate.sh for new arrow subcrates (#2752)
1 parent 5a55406 commit ca00b67

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

dev/release/verify-release-candidate.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,16 @@ test_source_distribution() {
116116
export ARROW_TEST_DATA=$PWD/arrow-testing-data/data
117117
export PARQUET_TEST_DATA=$PWD/parquet-testing-data/data
118118

119-
# use local modules because we don't publish modules to crates.io yet
120-
sed \
121-
-i.bak \
122-
-E \
123-
-e 's/^arrow = "([^"]*)"/arrow = { version = "\1", path = "..\/arrow" }/g' \
124-
-e 's/^parquet = "([^"]*)"/parquet = { version = "\1", path = "..\/parquet" }/g' \
125-
*/Cargo.toml
126-
127119
(cd arrow && cargo build && cargo test)
128120
(cd arrow-flight && cargo build && cargo test)
129121
(cd parquet && cargo build && cargo test)
130122
(cd parquet_derive && cargo build && cargo test)
131123

132-
# verify that the crates can be published to crates.io
133-
pushd arrow
124+
# verify that the leaf crates can be published to crates.io
125+
# we can't verify crates that depend on others
126+
# (because the others haven't yet been published to crates.io)
127+
128+
pushd arrow-buffer
134129
cargo publish --dry-run
135130
popd
136131

0 commit comments

Comments
 (0)