Co-authored-by: opencode <opencode@sst.dev>
This commit is contained in:
Dax
2026-01-29 13:17:55 -05:00
committed by GitHub
parent ae9199e101
commit 9ed3b0742f
27 changed files with 368 additions and 367 deletions

View File

@@ -20,6 +20,7 @@ const env = {
OPENCODE_CHANNEL: process.env["OPENCODE_CHANNEL"],
OPENCODE_BUMP: process.env["OPENCODE_BUMP"],
OPENCODE_VERSION: process.env["OPENCODE_VERSION"],
OPENCODE_RELEASE: process.env["OPENCODE_RELEASE"],
}
const CHANNEL = await (async () => {
if (env.OPENCODE_CHANNEL) return env.OPENCODE_CHANNEL
@@ -55,5 +56,8 @@ export const Script = {
get preview() {
return IS_PREVIEW
},
get release() {
return env.OPENCODE_RELEASE
},
}
console.log(`opencode script`, JSON.stringify(Script, null, 2))