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 authored and GitHub committed 2026-01-07 00:22:44 +00:00
1 parent f3e5e3e6fe
commit 4e28080d55
2 files changed
+10 -2

No files matched your search

+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