Improve script/bump-zed-minor-version
(#22199)
- Follow up to: https://github.com/zed-industries/zed/pull/22170 CC: @mgsloan Release Notes: - N/A --------- Co-authored-by: Michael Sloan <mgsloan@gmail.com>
This commit is contained in:
parent
7913b6a5a2
commit
4fbb568f42
1 changed files with 7 additions and 6 deletions
|
@ -87,12 +87,8 @@ git clean -q -dff
|
||||||
git checkout -q -b ${bump_main_branch_name}
|
git checkout -q -b ${bump_main_branch_name}
|
||||||
cargo set-version --package zed --bump minor
|
cargo set-version --package zed --bump minor
|
||||||
cargo check -q
|
cargo check -q
|
||||||
message="${next_minor_branch_name} dev
|
|
||||||
|
|
||||||
Release Notes:
|
git commit -q --all --message "${next_minor_branch_name} dev"
|
||||||
|
|
||||||
- N/A"
|
|
||||||
git commit -q --all --message "$message"
|
|
||||||
|
|
||||||
git checkout -q main
|
git checkout -q main
|
||||||
|
|
||||||
|
@ -108,7 +104,12 @@ Prepared new Zed versions locally. You will need to push the branches and open a
|
||||||
${prev_minor_branch_name} \\
|
${prev_minor_branch_name} \\
|
||||||
${bump_main_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:
|
# To undo this push:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue