Skip to content

Commit

Permalink
fix(dev/release,go): ensure temporary directory removable (#1438)
Browse files Browse the repository at this point in the history
Fixes #1437.
  • Loading branch information
kou authored Jan 8, 2024
1 parent 3c9e2ec commit 4b73eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/release/verify-release-candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ test_yum() {

setup_tempdir() {
cleanup() {
# Go modules are installed with 0444.
chmod -R u+w "${ARROW_TMPDIR}"
if [ "${TEST_SUCCESS}" = "yes" ]; then
# Go modules are installed with 0444.
chmod -R u+w "${ARROW_TMPDIR}"
rm -fr "${ARROW_TMPDIR}"
else
echo "Failed to verify release candidate. See ${ARROW_TMPDIR} for details."
Expand Down

0 comments on commit 4b73eb4

Please sign in to comment.