From 8baefc67a449a4a4e43166e20c8ccb000f38cf9a Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Tue, 27 Oct 2020 09:18:10 -0700 Subject: [PATCH] Yet another attempt at fixing Windows CI --- tensorflow/tools/ci_build/release/common.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tensorflow/tools/ci_build/release/common.sh b/tensorflow/tools/ci_build/release/common.sh index a5dd6b59d61..9a20c4669cd 100644 --- a/tensorflow/tools/ci_build/release/common.sh +++ b/tensorflow/tools/ci_build/release/common.sh @@ -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}"