Skip to content

Commit e4233a7

Browse files
authored
Binaries verification ensures using source directory (#111)
Closes GH-109
1 parent 2017287 commit e4233a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/release/verify-rc.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,10 @@ test_source_distribution() {
242242
}
243243

244244
test_apt() {
245-
pushd "${ARROW_TMPDIR}"
246-
247245
show_header "Testing APT packages"
248246

249247
if [ "${GITHUB_ACTIONS}" = "true" ]; then
248+
pushd "${TOP_SOURCE_DIR}"
250249
local verify_type=rc
251250
if [ "${TEST_STAGING:-0}" -gt 0 ]; then
252251
verify_type=staging-${verify_type}
@@ -266,7 +265,9 @@ test_apt() {
266265
exit 1
267266
fi
268267
done
268+
popd
269269
else
270+
pushd "${ARROW_TMPDIR}"
270271
curl --get \
271272
--data branch=${VERSION}-rc${RC_NUMBER} \
272273
https://api.github.com/repos/${SOURCE_REPOSITORY}/actions/workflows/verify-rc.yaml/runs > \
@@ -282,9 +283,8 @@ test_apt() {
282283
echo "It was not succeeded: ${conclusion}"
283284
return 1
284285
fi
286+
popd
285287
fi
286-
287-
popd
288288
}
289289

290290
test_binary_distribution() {

0 commit comments

Comments
 (0)