mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
sync
This commit is contained in:
@@ -15,8 +15,6 @@ process.chdir(dir)
|
||||
import pkg from "../package.json"
|
||||
import { Script } from "@opencode-ai/script"
|
||||
|
||||
console.log("release", Script.release)
|
||||
|
||||
// Fetch and generate models.dev snapshot
|
||||
const modelsData = process.env.MODELS_DEV_API_JSON
|
||||
? await Bun.file(process.env.MODELS_DEV_API_JSON).text()
|
||||
@@ -189,7 +187,7 @@ if (Script.release) {
|
||||
await $`zip -r ../../${key}.zip *`.cwd(`dist/${key}/bin`)
|
||||
}
|
||||
}
|
||||
await $`gh release upload v${Script.release} ./dist/*.zip ./dist/*.tar.gz --clobber`
|
||||
await $`gh release upload ${Script.release} ./dist/*.zip ./dist/*.tar.gz --clobber`
|
||||
}
|
||||
|
||||
export { binaries }
|
||||
|
||||
Reference in New Issue
Block a user