Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fetch release branches before bumping zed minor versions
Max Brunsfeld9355d501bc8e
diff --git a/script/bump-zed-minor-versions b/script/bump-zed-minor-versionsindex 2ec9ad29883..8dcf7e334e3 100755--- a/script/bump-zed-minor-versions+++ b/script/bump-zed-minor-versions@@ -15,8 +15,6 @@ if [[ $(git rev-parse --abbrev-ref HEAD) != "main" ]]; thenexit 1figit pull -q --ff-only origin main-git fetch --tags-cargo check -q# Parse the current versionversion=$(script/get-crate-version zed)@@ -31,6 +29,10 @@ prev_minor_branch_name="v${major}.${prev_minor}.x"next_minor_branch_name="v${major}.${next_minor}.x"preview_tag_name="v${major}.${minor}.${patch}-pre"+git fetch origin ${prev_minor_branch_name}:${prev_minor_branch_name}+git fetch origin --tags+cargo check -q+function cleanup {git checkout -q main}