mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
6dbcacf3ea
commit
78c51371af
3 changed files with 4 additions and 3 deletions
|
|
@ -47,7 +47,7 @@ for (const [name] of Object.entries(binaries)) {
|
|||
process.chdir(dir)
|
||||
}
|
||||
}
|
||||
await $`cd ./dist/${pkg.name} && bun publish --access public --tag ${Script.channel}`
|
||||
await $`cd ./dist/${pkg.name} && bun pm pack && npm publish *.tgz --access public --tag ${Script.channel}`
|
||||
|
||||
if (!Script.preview) {
|
||||
const major = Script.version.split(".")[0]
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ for (const [key, value] of Object.entries(pkg.exports)) {
|
|||
}
|
||||
}
|
||||
await Bun.write("package.json", JSON.stringify(pkg, null, 2))
|
||||
await $`bun publish --tag ${Script.channel} --access public`
|
||||
await $`bun pm pack && npm publish *.tgz --tag ${Script.channel} --access public`
|
||||
await Bun.write("package.json", JSON.stringify(original, null, 2))
|
||||
|
|
|
|||
|
|
@ -19,5 +19,6 @@ for (const [key, value] of Object.entries(pkg.exports)) {
|
|||
}
|
||||
}
|
||||
await Bun.write("package.json", JSON.stringify(pkg, null, 2))
|
||||
await $`bun publish --tag ${Script.channel} --access public`
|
||||
await $`bun pm pack`
|
||||
await $`npm publish *.tgz --tag ${Script.channel} --access public`
|
||||
await Bun.write("package.json", JSON.stringify(original, null, 2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue