diff --git a/script/bump-zed-minor-versions b/script/bump-zed-minor-versions index b74d6fdda1076..ab381fe4564a8 100755 --- a/script/bump-zed-minor-versions +++ b/script/bump-zed-minor-versions @@ -77,6 +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} echo -n preview > crates/zed/RELEASE_CHANNEL git commit -q --all --message "${minor_branch_name} preview" git tag ${preview_tag_name}