You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/01 00:09:11 UTC

[GitHub] [arrow] kou commented on a change in pull request #11735: ARROW-14749: [Python][Release] Set release verification script to use target source instead of current source directory

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org