Skip to content

Commit

Permalink
Install cargo-edito without extra features (#18457)
Browse files Browse the repository at this point in the history
killercup/cargo-edit#907 removed the feature
from the crate

Release Notes:

- N/A
  • Loading branch information
SomeoneToIgnore committed Sep 27, 2024
1 parent 8b57259 commit 85a4470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump_patch_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
exit 1
;;
esac
which cargo-set-version > /dev/null || cargo install cargo-edit --features vendored-openssl
which cargo-set-version > /dev/null || cargo install cargo-edit
output=$(cargo set-version -p zed --bump patch 2>&1 | sed 's/.* //')
git commit -am "Bump to $output for @$GITHUB_ACTOR" --author "Zed Bot <hi@zed.dev>"
git tag v${output}${tag_suffix}
Expand Down
2 changes: 1 addition & 1 deletion script/lib/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ -n $(git status --short --untracked-files=no) ]]; then
exit 1
fi

which cargo-set-version > /dev/null || cargo install cargo-edit --features vendored-openssl
which cargo-set-version > /dev/null || cargo install cargo-edit
which jq > /dev/null || brew install jq
cargo set-version --package $package --bump $version_increment
cargo check --quiet
Expand Down

0 comments on commit 85a4470

Please sign in to comment.