diff options
| author | Brendan Allan <[email protected]> | 2026-02-27 20:18:21 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-27 20:18:21 +0800 |
| commit | 967313234a7908dca1f4c7bec75bb4af6c0d0935 (patch) | |
| tree | ef3a056c70c31ed72f07e3083b8bc58edfbef7ef /script | |
| parent | dfa02811178af1af602f59f8cdbcb3f3e319f103 (diff) | |
| download | opencode-967313234a7908dca1f4c7bec75bb4af6c0d0935.tar.gz opencode-967313234a7908dca1f4c7bec75bb4af6c0d0935.zip | |
desktop: add latest.json finalizer script (#15335)
Diffstat (limited to 'script')
| -rwxr-xr-x | script/publish.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/publish.ts b/script/publish.ts index b7ed5c822..334a73492 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -1,7 +1,7 @@ #!/usr/bin/env bun -import { $ } from "bun" import { Script } from "@opencode-ai/script" +import { $ } from "bun" import { fileURLToPath } from "url" const highlightsTemplate = ` @@ -67,6 +67,8 @@ if (Script.release) { await new Promise((resolve) => setTimeout(resolve, 5_000)) } + await import(`../packages/desktop/scripts/finalize-latest-json.ts`) + await $`gh release edit v${Script.version} --draft=false --repo ${process.env.GH_REPO}` } |
