kou commented on a change in pull request #11735:
URL: https://github.com/apache/arrow/pull/11735#discussion_r759755304



##########
File path: dev/release/verify-release-candidate.sh
##########
@@ -813,26 +826,12 @@ if [ ${NEED_MINICONDA} -gt 0 ]; then
 fi
 
 if [ "${ARTIFACT}" == "source" ]; then
-  dist_name="apache-arrow-${VERSION}"
-  if [ ${TEST_SOURCE} -gt 0 ]; then
-    import_gpg_keys
-    if [ ! -d "${dist_name}" ]; then
-      fetch_archive ${dist_name}
-      tar xf ${dist_name}.tar.gz
-    fi
-  else
-    mkdir -p ${dist_name}
-    if [ ! -f ${TEST_ARCHIVE} ]; then
-      echo "${TEST_ARCHIVE} not found"
-      exit 1
-    fi
-    tar xf ${TEST_ARCHIVE} -C ${dist_name} --strip-components=1
-  fi
+  ensure_source_directory
   pushd ${dist_name}

Review comment:
       ```suggestion
     pushd ${ARROW_DIR}
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to