From 28f3ce17a4b87e1badc5edcb6974cbe5bb42edbd Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 6 Nov 2025 18:37:40 +0800 Subject: [PATCH 1/2] chore(ci): fix strange bumpmyversion problem --- .github/workflows/build_linux_arm64_wheels-gh.yml | 2 +- .github/workflows/build_linux_x86_wheels.yml | 3 +-- .github/workflows/build_macos_arm64_wheels.yml | 3 +-- .github/workflows/build_macos_x86_wheels.yml | 3 +-- .github/workflows/build_musllinux_arm64_wheels.yml | 2 +- .github/workflows/build_musllinux_x86_wheels.yml | 2 +- 6 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_linux_arm64_wheels-gh.yml b/.github/workflows/build_linux_arm64_wheels-gh.yml index f57d2814005..e24d0989222 100644 --- a/.github/workflows/build_linux_arm64_wheels-gh.yml +++ b/.github/workflows/build_linux_arm64_wheels-gh.yml @@ -106,7 +106,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions diff --git a/.github/workflows/build_linux_x86_wheels.yml b/.github/workflows/build_linux_x86_wheels.yml index 0ee9a0ce4e0..fe60d35d050 100644 --- a/.github/workflows/build_linux_x86_wheels.yml +++ b/.github/workflows/build_linux_x86_wheels.yml @@ -106,8 +106,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME - echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: | diff --git a/.github/workflows/build_macos_arm64_wheels.yml b/.github/workflows/build_macos_arm64_wheels.yml index 326a1e385af..23ce19ebb85 100644 --- a/.github/workflows/build_macos_arm64_wheels.yml +++ b/.github/workflows/build_macos_arm64_wheels.yml @@ -91,8 +91,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME - echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: | diff --git a/.github/workflows/build_macos_x86_wheels.yml b/.github/workflows/build_macos_x86_wheels.yml index 1f834e7f27d..a0425cae950 100644 --- a/.github/workflows/build_macos_x86_wheels.yml +++ b/.github/workflows/build_macos_x86_wheels.yml @@ -80,8 +80,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME - echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: | diff --git a/.github/workflows/build_musllinux_arm64_wheels.yml b/.github/workflows/build_musllinux_arm64_wheels.yml index e19f02cbc1b..824d631cfb0 100644 --- a/.github/workflows/build_musllinux_arm64_wheels.yml +++ b/.github/workflows/build_musllinux_arm64_wheels.yml @@ -147,7 +147,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset fi diff --git a/.github/workflows/build_musllinux_x86_wheels.yml b/.github/workflows/build_musllinux_x86_wheels.yml index 3d27157e713..ff86ef5c53c 100644 --- a/.github/workflows/build_musllinux_x86_wheels.yml +++ b/.github/workflows/build_musllinux_x86_wheels.yml @@ -119,7 +119,7 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --new-version $TAG_NAME + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions From 84a6109846531a05692d73e5205903b426b65faf Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 6 Nov 2025 18:40:13 +0800 Subject: [PATCH 2/2] debug --- .github/workflows/build_linux_x86_wheels.yml | 3 ++- .github/workflows/build_macos_arm64_wheels.yml | 3 ++- .github/workflows/build_macos_x86_wheels.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_linux_x86_wheels.yml b/.github/workflows/build_linux_x86_wheels.yml index fe60d35d050..2a4620bc62e 100644 --- a/.github/workflows/build_linux_x86_wheels.yml +++ b/.github/workflows/build_linux_x86_wheels.yml @@ -106,7 +106,8 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME + echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: | diff --git a/.github/workflows/build_macos_arm64_wheels.yml b/.github/workflows/build_macos_arm64_wheels.yml index 23ce19ebb85..b4e57df5d08 100644 --- a/.github/workflows/build_macos_arm64_wheels.yml +++ b/.github/workflows/build_macos_arm64_wheels.yml @@ -91,7 +91,8 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME + echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: | diff --git a/.github/workflows/build_macos_x86_wheels.yml b/.github/workflows/build_macos_x86_wheels.yml index a0425cae950..705667a4078 100644 --- a/.github/workflows/build_macos_x86_wheels.yml +++ b/.github/workflows/build_macos_x86_wheels.yml @@ -80,7 +80,8 @@ jobs: # Install bump-my-version python -m pip install bump-my-version TAG_NAME=${GITHUB_REF#refs/tags/v} - bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME" + bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME + echo "Version files updated to $TAG_NAME" pyenv shell --unset - name: Install dependencies for all Python versions run: |