Deploy script: Specify remote for new Preview branch (#22614)

Set the git remote tracking branch when the new Preview branch is
created by `script/bump-zed-minor-versions`. This only impacts the local
git branch configuration of the user who runs this script.

Release Notes:

- N/A
This commit is contained in:
Peter Tripp 2025-01-03 15:25:15 +00:00 committed by GitHub
parent 0599f0fcb6
commit 663f5244ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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