fix(cli): publish scoped package
This commit is contained in:
parent
655adbf46e
commit
beb2c52c3f
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ for (const filepath of new Bun.Glob("*/package.json").scanSync({ cwd: "./dist" }
|
||||||
}
|
}
|
||||||
console.log("binaries", binaries)
|
console.log("binaries", binaries)
|
||||||
const version = Object.values(binaries)[0]
|
const version = Object.values(binaries)[0]
|
||||||
const name = "opencode-ai"
|
const name = pkg.name
|
||||||
|
|
||||||
await $`mkdir -p ./dist/${name}/bin`
|
await $`mkdir -p ./dist/${name}/bin`
|
||||||
await $`cp ./bin/opencode2.cjs ./dist/${name}/bin/opencode2`
|
await $`cp ./bin/opencode2.cjs ./dist/${name}/bin/opencode2`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue