extension_ci: Be more explicit with version bump (#46208)

Closes https://github.com/zed-industries/zed/issues/46175

I had very much hoped for bump2version to do this by default, well, left
here disappointed I suppose

Release Notes:

- N/A
This commit is contained in:
Finn Evers
2026-01-07 01:22:44 +01:00
committed by GitHub
parent f3e5e3e6fe
commit 4e28080d55
2 changed files with 10 additions and 2 deletions
+5 -1
View File
@@ -91,7 +91,11 @@ jobs:
BUMP_FILES+=("Cargo.toml")
fi
bump2version --verbose --current-version "$OLD_VERSION" --no-configured-files ${{ inputs.bump-type }} "${BUMP_FILES[@]}"
bump2version \
--search "version = \"{current_version}"\" \
--replace "version = \"{new_version}"\" \
--current-version "$OLD_VERSION" \
--no-configured-files ${{ inputs.bump-type }} "${BUMP_FILES[@]}"
if [[ -f "Cargo.toml" ]]; then
cargo update --workspace