This commit is contained in:
Dax Raad 2025-12-09 20:59:31 -05:00
parent e7e32c946b
commit a9aacdb94a

View file

@ -13,6 +13,11 @@ if (process.versions.bun !== expectedBunVersion) {
throw new Error(`This script requires bun@${expectedBunVersion}, but you are using bun@${process.versions.bun}`)
}
console.log({
OPENCODE_CHANNEL: process.env["OPENCODE_CHANNEL"],
OPENCODE_BUMP: process.env["OPENCODE_BUMP"],
OPENCODE_VERSION: process.env["OPENCODE_VERSION"],
})
const CHANNEL = await (async () => {
if (process.env["OPENCODE_CHANNEL"]) return process.env["OPENCODE_CHANNEL"]
if (process.env["OPENCODE_BUMP"]) return "latest"