Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Install cargo-edito without extra features (#18457)

Kirill Bulatovd5f67406b0b7
diff --git a/.github/workflows/bump_patch_version.yml b/.github/workflows/bump_patch_version.yml
index d05da31e6a0..b875ff7b221 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 <[email protected]>"
git tag v${output}${tag_suffix}
diff --git a/script/lib/bump-version.sh b/script/lib/bump-version.sh
index 0e1dfa5131d..ce955369505 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