do not autoupgrade snapshot builds
publish / publish (push) Has been cancelled

This commit is contained in:
Dax Raad
2025-06-17 01:17:50 -04:00
parent f544a01971
commit 8084990a31
2 changed files with 6 additions and 0 deletions
@@ -23,6 +23,10 @@ export namespace Installation {
}
}
export function isSnapshot() {
return VERSION.startsWith("0.0.0")
}
export async function method() {
if (process.execPath.includes(path.join(".opencode", "bin"))) return "curl"
const exec = process.execPath.toLowerCase()