desktop: add latest.json finalizer script (#15335)
This commit is contained in:
parent
dfa0281117
commit
967313234a
2 changed files with 160 additions and 1 deletions
|
|
@ -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}`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue