Apache DataFusion SQL Query Engine
ARROW-2960: [Packaging] Fix verify-release-candidate for binary packages and fix release cutting script for lib64 cmake issue
Phillip Cloud301d221b95ca
diff --git a/dev/release/02-source.sh b/dev/release/02-source.shindex 17124270c7..e72bb5d08e 100755--- a/dev/release/02-source.sh+++ b/dev/release/02-source.sh@@ -79,6 +79,7 @@ cpp_install_dir=${PWD}/${extract_dir}/cpp/installcd ${extract_dir}/cpp/buildcmake .. \-DCMAKE_INSTALL_PREFIX=${cpp_install_dir} \+ -DCMAKE_INSTALL_LIBDIR=${cpp_install_dir}/lib \-DARROW_BUILD_TESTS=nomake -j8make installdiff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 9a18bcefae..74ec61c64a 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -40,13 +40,19 @@ case $# inesacset -ex+set -o pipefailHERE=$(cd `dirname "${BASH_SOURCE[0]:-$0}"` && pwd)ARROW_DIST_URL='https://dist.apache.org/repos/dist/dev/arrow'download_dist_file() {- curl -f -O $ARROW_DIST_URL/$1+ curl \+ --silent \+ --show-error \+ --fail \+ --location \+ --remote-name $ARROW_DIST_URL/$1}download_rc_file() {@@ -71,18 +77,27 @@ fetch_archive() {verify_binary_artifacts() {# download the binaries folder for the current RC- download_rc_file binaries+ rcname=apache-arrow-${VERSION}-rc${RC_NUMBER}+ wget -P "$rcname" \+ --quiet \+ --no-host-directories \+ --cut-dirs=5 \+ --show-progress \+ --no-parent \+ --reject 'index.html*' \+ --recursive "$ARROW_DIST_URL/$rcname/binaries/"# verify the signature and the checksums of each artifact- find binaries -name '*.asc' | while read sigfile; do+ find $rcname/binaries -name '*.asc' | while read sigfile; doartifact=${sigfile/.asc/}- gpg --verify $sigfile $artifact+ gpg --verify $sigfile $artifact || exit 1# go into the directory because the checksum files contain only the# basename of the artifactpushd $(dirname $artifact)- shasum -a 1 -c $artifact.sha1- shasum -a 256 -c $artifact.sha256+ base_artifact=$(basename $artifact)+ shasum -a 1 -c $base_artifact.sha1 || exit 1+ shasum -a 256 -c $base_artifact.sha256 || exit 1popddone}