Skip to content

Commit c755d6d

Browse files
committed
Trying to get wheel renaming working again
1 parent 214cf49 commit c755d6d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build-vtk.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,9 @@ jobs:
158158
sed -i 's/Version:.9.2.6.dev0$/Version: 9.2.6/' wheel_build/*.dist-info/METADATA # Remove the .dev0 from the version in the METADATA file
159159
mv wheel_build/*.dist-info wheel_build/cadquery_vtk-9.2.6.dist-info # Rename the dist-info file to the new name
160160
wheel pack wheel_build/; # Create a new wheel file with the new name by prepending "cadquery_" to the name
161-
rm ../vtk/build/dist/*.whl # Remove the old wheel file
162-
mv cadquery_${wheel_file} ../vtk/build/dist/ # Move the new wheel file to the dist directory
163-
cd ../
164-
# mv vtk/build/dist/vtk-9.2.6.dev0-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl vtk/build/dist/cadquery-vtk-9.2.6-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl
161+
rm ./vtk/build/dist/*.whl # Remove the old wheel file
162+
mv pack ./wheel_build/cadquery_${wheel_file} ./vtk/build/dist/ # Move the new wheel file to the dist directory
163+
mv vtk/build/dist/vtk-9.2.6.dev0-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl vtk/build/dist/cadquery-vtk-9.2.6-cp${{ env.PYTHON_VERSION_NO_DOTS }}-cp${{ env.PYTHON_VERSION_NO_DOTS }}-${{ env.WHEEL_OS_VERSION }}.whl
165164
166165
- name: Test wheel
167166
shell: bash -l {0}

0 commit comments

Comments
 (0)