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: use numeric release id instead of gql one · al-prk/opencode@b7bd561

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/script/src
    • index.ts
  • script
    • version.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/script/src/index.ts‎

Copy file name to clipboardExpand all lines: packages/script/src/index.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export const Script = {
7070
get preview() {
7171
return IS_PREVIEW
7272
},
73-
get release() {
74-
return env.OPENCODE_RELEASE
73+
get release(): boolean {
74+
return !!env.OPENCODE_RELEASE
7575
},
7676
get team() {
7777
return team
Collapse file

‎script/version.ts‎

Copy file name to clipboardExpand all lines: script/version.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ if (!Script.preview) {
1414
const file = `${dir}/opencode-release-notes.txt`
1515
await Bun.write(file, body)
1616
await $`gh release create v${Script.version} -d --title "v${Script.version}" --notes-file ${file}`
17-
const release = await $`gh release view v${Script.version} --json id,tagName`.json()
18-
output.push(`release=${release.id}`)
17+
const release = await $`gh release view v${Script.version} --json tagName,databaseId`.json()
18+
output.push(`release=${release.databaseId}`)
1919
output.push(`tag=${release.tagName}`)
2020
}
2121

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.