message: One more attempt to fix wheel rename issues
diff: @@ -235,18 +235,20 @@ function copy_to_new_project_name {
  NEW_WHL_NAME="${NEW_PROJECT_NAME}-${FULL_TAG}"
  VERSION="$(echo "${FULL_TAG}" | cut -d '-' -f 1)"
  + ORIGINAL_WHL_DIR_PREFIX="${ORIGINAL_PROJECT_NAME}-${VERSION}"
  + NEW_WHL_DIR_PREFIX="${NEW_PROJECT_NAME}-${VERSION}"
  +
  TMP_DIR="$(mktemp -d)"
  - ${PYTHON_CMD} -m wheel unpack "${WHL_PATH}" -d "${TMP_DIR}"
  + ${PYTHON_CMD} -m wheel unpack "${WHL_PATH}"
  # Debug:
  - find "${TMP_DIR}"
  + ls -l
  + # End debug
  + mv "${ORIGINAL_WHL_DIR_PREFIX}" "${TMP_DIR}"
  + # Debug
  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}"
  + pushd "${TMP_DIR}/${ORIGINAL_WHL_DIR_PREFIX}"
  - ORIGINAL_WHL_DIR_PREFIX="${ORIGINAL_PROJECT_NAME}-${VERSION}"
  - NEW_WHL_DIR_PREFIX="${NEW_PROJECT_NAME}-${VERSION}"
  mv "${ORIGINAL_WHL_DIR_PREFIX}.dist-info" "${NEW_WHL_DIR_PREFIX}.dist-info"
  if [[ -d "${ORIGINAL_WHL_DIR_PREFIX}.data" ]]; then
  mv "${ORIGINAL_WHL_DIR_PREFIX}.data" "${NEW_WHL_DIR_PREFIX}.data"
  @@ -256,7 +258,11 @@ function copy_to_new_project_name {
  NEW_PROJECT_NAME_DASH="${NEW_PROJECT_NAME//_/-}"
  sed -i.bak "s/${ORIGINAL_PROJECT_NAME_DASH}/${NEW_PROJECT_NAME_DASH}/g" "${NEW_WHL_DIR_PREFIX}.dist-info/METADATA"
  - ${PYTHON_CMD} -m wheel pack "${TMP_UNPACKED_DIR}" -d "${ORIGINAL_WHL_DIR}"
  + ${PYTHON_CMD} -m wheel pack .
  + # Debug
  + ls -l
  + # End debug
  + mv *.whl "${ORIGINAL_WHL_DIR}"
  popd
  rm -rf "${TMP_DIR}"
  }
  