mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 21:16:06 +00:00
sync
This commit is contained in:
parent
a430f0c689
commit
84bcb06698
1 changed files with 1 additions and 3 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue