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

Follow-up to: https://github.com/zed-industries/zed/pull/22614
This commit is contained in:
Peter Tripp 2025-01-08 15:38:56 +00:00 committed by GitHub
parent 8cd2afeacc
commit 7f0e13258c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}