This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to tag v0.10.0 in repository https://gitbox.apache.org/repos/asf/fury.git
commit ef2a1f9ff0d71e526283e913ee75cdcc33bfe97b Author: chaokunyang <[email protected]> AuthorDate: Thu Feb 6 22:23:11 2025 +0800 fix rename wheel --- .github/workflows/release.yaml | 6 ++++-- ci/deploy.sh | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1dc2a189..a8bf888b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: [3.8, 3.9, 3.11, 3.12] + python-version: [3.8, 3.9, 3.10, 3.11, 3.12] os: [ubuntu-latest, macos-13, macos-14, windows-2022] # macos-13: x86, macos-14: arm64 steps: @@ -52,7 +52,9 @@ jobs: shell: bash run: | ci/deploy.sh build_pyfury - ci/deploy.sh rename_linux_wheels dist + if [[ "$OSTYPE" == "linux"* ]]; then + ci/deploy.sh rename_linux_wheels dist + fi - name: Upload Wheel Artifact uses: actions/upload-artifact@v4 with: diff --git a/ci/deploy.sh b/ci/deploy.sh index 3807b5e2..9934ee15 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -58,7 +58,10 @@ create_py_envs() { rename_linux_wheels() { for path in "$1"/*.whl; do if [ -f "${path}" ]; then - mv "${path}" "${path//linux/manylinux1}" + new_path="${path//linux/manylinux1}" + if [ "${path}" != "${new_path}" ]; then + mv "${path}" "${new_path}" + fi fi done } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
