mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-23 17:10:37 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user