mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
15 lines
376 B
TypeScript
Executable File
15 lines
376 B
TypeScript
Executable File
#!/usr/bin/env bun
|
|
|
|
import { Script } from "@opencode-ai/script"
|
|
import { $ } from "bun"
|
|
|
|
if (!Script.preview) {
|
|
await $`gh release edit v${Script.version} --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`)
|