File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 52
52
shell : bash
53
53
run : |
54
54
ci/deploy.sh build_pyfury
55
- if [[ "$OSTYPE" == "linux"* ]]; then
56
- ci/deploy.sh rename_wheels dist
57
- fi
55
+ ci/deploy.sh rename_wheels dist
58
56
- name : Upload Wheel Artifact
59
57
uses : actions/upload-artifact@v4
60
58
with :
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ rename_wheels() {
67
67
# Copy macosx_14_0_x86_64 to macosx_10_12_x86_64
68
68
if [[ " ${path} " == * macosx_14_0_x86_64.whl ]]; then
69
69
copy_path=" ${path// macosx_14_0_x86_64/ macosx_10_12_x86_64} "
70
- cp " ${path} " " ${copy_path} "
70
+ mv " ${path} " " ${copy_path} "
71
71
fi
72
72
fi
73
73
done
@@ -151,9 +151,7 @@ deploy_python() {
151
151
python setup.py bdist_wheel
152
152
mv dist/pyfury* .whl " $WHEEL_DIR "
153
153
done
154
- if [[ " $OSTYPE " == " linux" * ]]; then
155
- rename_wheels " $WHEEL_DIR "
156
- fi
154
+ rename_wheels " $WHEEL_DIR "
157
155
twine check " $WHEEL_DIR " /pyfury* .whl
158
156
twine upload -r pypi " $WHEEL_DIR " /pyfury* .whl
159
157
}
You can’t perform that action at this time.
0 commit comments