diff options
| author | Brendan Allan <[email protected]> | 2026-04-02 14:05:36 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-02 06:05:36 +0000 |
| commit | 0f488996b30780f6fe9ecd08d2b3701024b5eea3 (patch) | |
| tree | 4211f8a7835151c4e4cd938faed2aac7c819b175 | |
| parent | a6f524ca08548e39de15b0d61ae9ef3db1e56b0e (diff) | |
| download | opencode-0f488996b30780f6fe9ecd08d2b3701024b5eea3.tar.gz opencode-0f488996b30780f6fe9ecd08d2b3701024b5eea3.zip | |
fix(node): set OPENCODE_CHANNEL during build (#20616)
| -rw-r--r-- | packages/opencode/script/build-node.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/opencode/script/build-node.ts b/packages/opencode/script/build-node.ts index 17bc86307..fc515a67a 100644 --- a/packages/opencode/script/build-node.ts +++ b/packages/opencode/script/build-node.ts @@ -1,5 +1,6 @@ #!/usr/bin/env bun +import { Script } from "@opencode-ai/script" import fs from "fs" import path from "path" import { fileURLToPath } from "url" @@ -48,6 +49,7 @@ await Bun.build({ external: ["jsonc-parser"], define: { OPENCODE_MIGRATIONS: JSON.stringify(migrations), + OPENCODE_CHANNEL: `'${Script.channel}'`, }, }) |
