Skip to content

Commit 10fece6

Browse files
committed
Edit release script
1 parent e39d3c8 commit 10fece6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/release.sh

+4-5
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ npm run packages-publish
2323
# push `main`, including tags
2424
git push --no-verify --tags origin main
2525

26-
# delete `next`
27-
git branch -D next
28-
git push --no-verify origin :next
26+
# merge `main` into `next`
27+
git checkout next
28+
git merge main
2929

30-
# create and push `next`
31-
git checkout -b next
30+
# push `next`
3231
git push --no-verify origin next
3332

3433
# update docs

0 commit comments

Comments
 (0)