mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
sync
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user