Skip to content

Commit 4fc1662

Browse files
committed
linux: Support main wheel renaming with multiple versions
1 parent 0a8009e commit 4fc1662

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/internal/manylinux-build-wheels.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ for whl in dist/itk_*linux_$(uname -p).whl; do
153153
/opt/python/cp37-cp37m/bin/auditwheel repair --plat manylinux2014_x86_64 ${whl} -w /work/dist/
154154
rm ${whl}
155155
done
156-
itk_wheel=$(ls dist/itk-*linux*)
157-
mv ${itk_wheel} ${itk_wheel/linux/manylinux2014}
156+
for itk_wheel in dist/itk-*linux*.whl; do
157+
mv ${itk_wheel} ${itk_wheel/linux/manylinux2014}
158+
done
158159

159160
# Install packages and test
160161
for PYBIN in "${PYBINARIES[@]}"; do

0 commit comments

Comments
 (0)