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 · f2dmarques/opencode@b1b8f6c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • publish.yml
  • packages/tauri/scripts
    • prepare.ts
  • script
    • publish-complete.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/publish.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@ jobs:
221221
222222
- run: ./script/publish-complete.ts
223223
env:
224-
OPENCODE_BUMP: ${{ inputs.bump }}
225-
OPENCODE_VERSION: ${{ inputs.version }}
224+
OPENCODE_VERSION: ${{ needs.publish.outputs.tagName }}
226225
AUR_KEY: ${{ secrets.AUR_KEY }}
227226
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
228227
OPENCODE_RELEASE_TAG: ${{ needs.publish.outputs.tagName }}
Collapse file

‎packages/tauri/scripts/prepare.ts‎

Copy file name to clipboardExpand all lines: packages/tauri/scripts/prepare.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
import { $ } from "bun"
44

55
import { copyBinaryToSidecarFolder, getCurrentSidecar } from "./utils"
6+
import { Script } from "@opencode-ai/script"
67

78
const sidecarConfig = getCurrentSidecar()
89

910
const dir = "src-tauri/target/opencode-binaries"
1011

1112
await $`mkdir -p ${dir}`
12-
await $`gh release download ${Bun.env.OPENCODE_RELEASE_TAG} --pattern ${sidecarConfig.ocBinary}.${sidecarConfig.assetExt} --repo sst/opencode --skip-existing --dir ${dir}`
13+
await $`gh release download v${Script.version} --pattern ${sidecarConfig.ocBinary}.${sidecarConfig.assetExt} --repo sst/opencode --skip-existing --dir ${dir}`
1314

1415
if (sidecarConfig.assetExt === "tar.gz") {
1516
await $`tar -xvzf ${dir}/${sidecarConfig.ocBinary}.${sidecarConfig.assetExt} -C ${dir}`
Collapse file

‎script/publish-complete.ts‎

Copy file name to clipboardExpand all lines: script/publish-complete.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Script } from "@opencode-ai/script"
44
import { $ } from "bun"
55

66
if (!Script.preview) {
7-
await $`gh release edit ${process.env.OPENCODE_RELEASE_TAG} --draft=false`
7+
await $`gh release edit v${Script.version} --draft=false`
88
}
99

1010
await $`bun install`

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.