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.

Fix upstream branch tracking error in script/bump-zed-minor-versions (#22834)

Peter Tripp7f0e13258c30
diff --git a/script/bump-zed-minor-versions b/script/bump-zed-minor-versions
index ab381fe4564..cacea1598cf 100755
--- a/script/bump-zed-minor-versions
+++ b/script/bump-zed-minor-versions
@@ -77,7 +77,7 @@ git tag ${stable_tag_name}
echo "Creating new preview branch ${minor_branch_name}..."
git checkout -q main
git checkout -q -b ${minor_branch_name}
-git branch --set-upstream-to=origin/${minor_branch_name} ${minor_branch_name}
+git branch --set-upstream-to=origin/${minor_branch_name} ${minor_branch_name} --no-advice
echo -n preview > crates/zed/RELEASE_CHANNEL
git commit -q --all --message "${minor_branch_name} preview"
git tag ${preview_tag_name}