mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ci
This commit is contained in:
parent
e7e32c946b
commit
a9aacdb94a
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue