From d5f67406b0b7eb9ffd261b79467d17c1dc28a041 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Fri, 27 Sep 2024 22:42:04 +0300 Subject: [PATCH] Install cargo-edito without extra features (#18457) https://github.com/killercup/cargo-edit/pull/907 removed the feature from the crate Release Notes: - N/A --- .github/workflows/bump_patch_version.yml | 2 +- script/lib/bump-version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump_patch_version.yml b/.github/workflows/bump_patch_version.yml index d05da31e6a0f67..b875ff7b221028 100644 --- a/.github/workflows/bump_patch_version.yml +++ b/.github/workflows/bump_patch_version.yml @@ -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 " git tag v${output}${tag_suffix} diff --git a/script/lib/bump-version.sh b/script/lib/bump-version.sh index 0e1dfa5131d6a7..ce955369505dbf 100755 --- a/script/lib/bump-version.sh +++ b/script/lib/bump-version.sh @@ -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