GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci · bzbetty/opencode@5e823fd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • script
    • beta.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎script/beta.ts‎

Copy file name to clipboardExpand all lines: script/beta.ts
+2-18Lines 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.