Skip to content

Commit

Permalink
Improve script/bump-zed-minor-version (#22199)
Browse files Browse the repository at this point in the history
- Follow up to: #22170

CC: @mgsloan 

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <[email protected]>
  • Loading branch information
notpeter and mgsloan authored Dec 20, 2024
1 parent 7913b6a commit 4fbb568
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions script/bump-zed-minor-versions
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,8 @@ git clean -q -dff
git checkout -q -b ${bump_main_branch_name}
cargo set-version --package zed --bump minor
cargo check -q
message="${next_minor_branch_name} dev

Release Notes:
- N/A"
git commit -q --all --message "$message"
git commit -q --all --message "${next_minor_branch_name} dev"

git checkout -q main

Expand All @@ -108,7 +104,12 @@ Prepared new Zed versions locally. You will need to push the branches and open a
${prev_minor_branch_name} \\
${bump_main_branch_name}
gh pr create --base main --head ${bump_main_branch_name}
echo -e "Release Notes:\n\n-N/A" | gh pr create \\
--title "Bump Zed to v${major}.${next_minor}" \\
--body-file "-" \\
--base main \\
--head ${bump_main_branch_name} \\
--web
# To undo this push:
Expand Down

0 comments on commit 4fbb568

Please sign in to comment.