Merge pull request #44355 from tensorflow/more-CI-fixes-on-r2.4

Yet another attempt at fixing Windows CI
This commit is contained in:
Mihai Maruseac 2020-10-27 09:39:26 -07:00 committed by GitHub
commit f15c2f7aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,12 @@ function copy_to_new_project_name {
TMP_DIR="$(mktemp -d)"
${PYTHON_CMD} -m wheel unpack "${WHL_PATH}" -d "${TMP_DIR}"
TMP_UNPACKED_DIR="$(ls -1 "${TMP_DIR}" | head -n 1)"
# Debug:
find "${TMP_DIR}"
ls -l "${TMP_DIR}"
ls -l "${TMP_DIR}"/*
# End debug
TMP_UNPACKED_DIR="$(find "${TMP_DIR}" -type d | tail -n 1)"
pushd "${TMP_UNPACKED_DIR}"
ORIGINAL_WHL_DIR_PREFIX="${ORIGINAL_PROJECT_NAME}-${VERSION}"