Skip to content

Commit 214cf49

Browse files
committed
Edited the local build script and not the action config file
1 parent 392de0f commit 214cf49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-vtk.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ jobs:
157157
sed -i 's/Name:.*$/Name: cadquery_vtk/' wheel_build/*.dist-info/METADATA # Change the name in the METADATA file
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
160-
cd wheel_build/
161-
zip -r cadquery_${wheel_file} * # Create a new wheel file with the new name by prepending "cadquery_" to the name
160+
wheel pack wheel_build/; # Create a new wheel file with the new name by prepending "cadquery_" to the name
162161
rm ../vtk/build/dist/*.whl # Remove the old wheel file
163162
mv cadquery_${wheel_file} ../vtk/build/dist/ # Move the new wheel file to the dist directory
164163
cd ../

0 commit comments

Comments
 (0)