mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci: separate standalone publishing from dependent publishing (#5634)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
d8a34c2fcc
commit
943fbf39a3
6 changed files with 221 additions and 207 deletions
14
script/publish-complete.ts
Normal file
14
script/publish-complete.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bun
|
||||
|
||||
import { Script } from "@opencode-ai/script"
|
||||
import { $ } from "bun"
|
||||
|
||||
if (!Script.preview) {
|
||||
await $`gh release edit ${process.env.OPENCODE_RELEASE_TAG} --draft=false`
|
||||
}
|
||||
|
||||
await $`bun install`
|
||||
|
||||
await $`gh release download --pattern "opencode-linux-*64.tar.gz" --pattern "opencode-darwin-*64.zip" -D dist`
|
||||
|
||||
await import(`../packages/opencode/script/publish-registries.ts`)
|
||||
Loading…
Add table
Add a link
Reference in a new issue