Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui: Fix typo in publish script (#39836)

Mikayla Maki1bb6752e3e3e
diff --git a/script/bump-gpui-minor-version b/script/bump-gpui-minor-version
index 1e053884248..82e44120e00 100755
--- a/script/bump-gpui-minor-version
+++ b/script/bump-gpui-minor-version
@@ -19,10 +19,10 @@ major=$(echo $version | cut -d. -f1)
minor=$(echo $version | cut -d. -f2)
next_minor=$(expr $minor + 1)
-next_minor_branch_name="gpui-v${major}.${next_minor}.0"
+next_minor_branch_name="bump-gpui-to-v${major}.${next_minor}.0"
git checkout -b ${next_minor_branch_name}
-script/lib/bump-version.sh gpui v "-gpui" minor true
+script/lib/bump-version.sh gpui gpui-v "" minor true
git checkout -q main
diff --git a/script/lib/bump-version.sh b/script/lib/bump-version.sh
index fec732c1c0d..bfe3e29202a 100755
--- a/script/lib/bump-version.sh
+++ b/script/lib/bump-version.sh
@@ -30,9 +30,9 @@ if [[ "$gpui_release" == "true" ]]; then
cat <<MESSAGE
Locally committed and tagged ${package} version ${new_version}
-To push this (don't forget to open a PR!):
+To push this:
- git push origin ${tag_name}; gh pr create -H ${branch_name}
+ git push origin ${tag_name} ${branch_name}; gh pr create -H ${branch_name}
To undo this: