File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 53
53
run : |
54
54
ci/deploy.sh build_pyfury
55
55
if [[ "$OSTYPE" == "linux"* ]]; then
56
- ci/deploy.sh rename_linux_wheels dist
56
+ ci/deploy.sh rename_wheels dist
57
57
fi
58
58
- name : Upload Wheel Artifact
59
59
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -55,13 +55,20 @@ create_py_envs() {
55
55
conda env list
56
56
}
57
57
58
- rename_linux_wheels () {
58
+ rename_wheels () {
59
59
for path in " $1 " /* .whl; do
60
60
if [ -f " ${path} " ]; then
61
+ # Rename linux to manylinux1
61
62
new_path=" ${path// linux/ manylinux1} "
62
63
if [ " ${path} " != " ${new_path} " ]; then
63
64
mv " ${path} " " ${new_path} "
64
65
fi
66
+
67
+ # Copy macosx_14_0_x86_64 to macosx_10_12_x86_64
68
+ if [[ " ${path} " == * macosx_14_0_x86_64.whl ]]; then
69
+ copy_path=" ${path// macosx_14_0_x86_64/ macosx_10_12_x86_64} "
70
+ cp " ${path} " " ${copy_path} "
71
+ fi
65
72
fi
66
73
done
67
74
}
@@ -145,7 +152,7 @@ deploy_python() {
145
152
mv dist/pyfury* .whl " $WHEEL_DIR "
146
153
done
147
154
if [[ " $OSTYPE " == " linux" * ]]; then
148
- rename_linux_wheels " $WHEEL_DIR "
155
+ rename_wheels " $WHEEL_DIR "
149
156
fi
150
157
twine check " $WHEEL_DIR " /pyfury* .whl
151
158
twine upload -r pypi " $WHEEL_DIR " /pyfury* .whl
You can’t perform that action at this time.
0 commit comments