Skip to content

Commit 28f3ce1

Browse files
committed
chore(ci): fix strange bumpmyversion problem
1 parent 339b731 commit 28f3ce1

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

.github/workflows/build_linux_arm64_wheels-gh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
# Install bump-my-version
107107
python -m pip install bump-my-version
108108
TAG_NAME=${GITHUB_REF#refs/tags/v}
109-
bump-my-version replace --new-version $TAG_NAME
109+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME
110110
echo "Version files updated to $TAG_NAME"
111111
pyenv shell --unset
112112
- name: Install dependencies for all Python versions

.github/workflows/build_linux_x86_wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ jobs:
106106
# Install bump-my-version
107107
python -m pip install bump-my-version
108108
TAG_NAME=${GITHUB_REF#refs/tags/v}
109-
bump-my-version replace --new-version $TAG_NAME
110-
echo "Version files updated to $TAG_NAME"
109+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME"
111110
pyenv shell --unset
112111
- name: Install dependencies for all Python versions
113112
run: |

.github/workflows/build_macos_arm64_wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ jobs:
9191
# Install bump-my-version
9292
python -m pip install bump-my-version
9393
TAG_NAME=${GITHUB_REF#refs/tags/v}
94-
bump-my-version replace --new-version $TAG_NAME
95-
echo "Version files updated to $TAG_NAME"
94+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME"
9695
pyenv shell --unset
9796
- name: Install dependencies for all Python versions
9897
run: |

.github/workflows/build_macos_x86_wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ jobs:
8080
# Install bump-my-version
8181
python -m pip install bump-my-version
8282
TAG_NAME=${GITHUB_REF#refs/tags/v}
83-
bump-my-version replace --new-version $TAG_NAME
84-
echo "Version files updated to $TAG_NAME"
83+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME echo "Version files updated to $TAG_NAME"
8584
pyenv shell --unset
8685
- name: Install dependencies for all Python versions
8786
run: |

.github/workflows/build_musllinux_arm64_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
# Install bump-my-version
148148
python -m pip install bump-my-version
149149
TAG_NAME=${GITHUB_REF#refs/tags/v}
150-
bump-my-version replace --new-version $TAG_NAME
150+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME
151151
echo "Version files updated to $TAG_NAME"
152152
pyenv shell --unset
153153
fi

.github/workflows/build_musllinux_x86_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
# Install bump-my-version
120120
python -m pip install bump-my-version
121121
TAG_NAME=${GITHUB_REF#refs/tags/v}
122-
bump-my-version replace --new-version $TAG_NAME
122+
bump-my-version replace --current-version 3.7.0 --new-version $TAG_NAME
123123
echo "Version files updated to $TAG_NAME"
124124
pyenv shell --unset
125125
- name: Install dependencies for all Python versions

0 commit comments

Comments
 (0)