Skip to content

Commit

Permalink
Deploy script: Specify remote for new Preview branch (#22614)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
notpeter authored Jan 3, 2025
1 parent 0599f0f commit 663f524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/bump-zed-minor-versions
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 663f524

Please sign in to comment.