Skip to content

Commit ca765d5

Browse files
authored
Fix verification scripts for 7.0.0 release (#1830)
* Update release and verify scripts * fixup * Fix publish check * remove python check
1 parent 79b46f8 commit ca765d5

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

dev/release/create-tarball.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ gpg --armor --output ${tarball}.asc --detach-sig ${tarball}
125125
(cd ${distdir} && shasum -a 256 ${tarname}) > ${tarball}.sha256
126126
(cd ${distdir} && shasum -a 512 ${tarname}) > ${tarball}.sha512
127127

128-
# download python binary releases from Github Action
129-
python_distdir=${distdir}/python
130-
echo "Preparing python release artifacts"
131-
test -d ${python_distdir} || mkdir -p ${python_distdir}
132-
pushd "${python_distdir}"
133-
python ${SOURCE_DIR}/download-python-wheels.py "${tag}"
134-
popd
135128

136129
echo "Uploading to apache dist/dev to ${url}"
137130
svn co --depth=empty https://dist.apache.org/repos/dist/dev/arrow ${SOURCE_TOP_DIR}/dev/dist

dev/release/verify-release-candidate.sh

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fetch_archive() {
7272

7373
verify_dir_artifact_signatures() {
7474
# verify the signature and the checksums of each artifact
75-
find $1 -name '*.asc' | while read sigfile; do
75+
find . -name '*.asc' | while read sigfile; do
7676
artifact=${sigfile/.asc/}
7777
gpg --verify $sigfile $artifact || exit 1
7878

@@ -135,7 +135,10 @@ test_source_distribution() {
135135
exit 1
136136
fi
137137

138-
pushd datafusion
138+
139+
# Note can't verify datafusion or datafusion-expr as they depend
140+
# on datafusion-common which isn't published yet
141+
pushd datafusion-common
139142
cargo publish --dry-run
140143
popd
141144
}
@@ -154,13 +157,6 @@ pushd ${dist_name}
154157
test_source_distribution
155158
popd
156159

157-
echo "Verifying python artifacts..."
158-
svn co $ARROW_DIST_URL/apache-arrow-datafusion-${VERSION}-rc${RC_NUMBER}/python python-artifacts
159-
pushd python-artifacts
160-
verify_dir_artifact_signatures
161-
twine check *.{whl,tar.gz}
162-
popd
163-
164160
TEST_SUCCESS=yes
165161
echo 'Release candidate looks good!'
166162
exit 0

0 commit comments

Comments
 (0)