Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 5e823fd

Browse files
committed
ci
1 parent ad5d495 commit 5e823fd

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

script/beta.ts

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,8 @@ async function main() {
4949
continue
5050
}
5151

52-
// Try to rebase onto current beta branch
53-
console.log(` Attempting to rebase PR #${pr.number}...`)
54-
const rebase = await $`git rebase beta pr-${pr.number}`.nothrow()
55-
if (rebase.exitCode !== 0) {
56-
console.log(` Rebase failed for PR #${pr.number} (has conflicts)`)
57-
await $`git rebase --abort`.nothrow()
58-
await $`git checkout beta`.nothrow()
59-
skipped.push({ number: pr.number, reason: "Rebase failed (conflicts)" })
60-
continue
61-
}
62-
63-
// Move rebased commits to pr-${pr.number} branch and checkout back to beta
64-
await $`git checkout -B pr-${pr.number}`.nothrow()
65-
await $`git checkout beta`.nothrow()
66-
67-
console.log(` Successfully rebased PR #${pr.number}`)
68-
69-
// Now squash merge the rebased PR
52+
// Try to squash merge the PR directly
53+
console.log(` Attempting to merge PR #${pr.number}...`)
7054
const merge = await $`git merge --squash pr-${pr.number}`.nothrow()
7155
if (merge.exitCode !== 0) {
7256
console.log(` Squash merge failed for PR #${pr.number}`)

0 commit comments

Comments
 (0)