Revert "[CI] Remove wheel renaming code path. (#15952)" (#15954)

This reverts commit 42bbde2987.
This commit is contained in:
Simon Mo 2021-05-20 15:44:53 -07:00 committed by GitHub
parent b130613143
commit cce5007285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,5 +91,13 @@ for ((i=0; i<${#PYTHONS[@]}; ++i)); do
popd
done
# Rename the wheels so that they can be uploaded to PyPI. TODO(rkn): This is a
# hack, we should use auditwheel instead.
for path in .whl/*.whl; do
if [ -f "${path}" ]; then
mv "${path}" "${path//linux/manylinux2014}"
fi
done
# Clean the build output so later operations is on a clean directory.
git clean -f -f -x -d -e .whl -e python/ray/dashboard/client