fix(release): stop advancing next npm tags
This commit is contained in:
@@ -20,7 +20,6 @@ async function publish(dir: string, name: string, version: string) {
|
||||
await $`bun pm pack`.cwd(dir)
|
||||
await $`npm publish *.tgz --access public --tag ${Script.channel}`.cwd(dir)
|
||||
}
|
||||
if (Script.channel === "beta") await $`npm dist-tag add ${`${name}@${version}`} next`
|
||||
}
|
||||
|
||||
async function publishDistribution(input: { root: string; name: string; binary: string; packagePrefix: string }) {
|
||||
|
||||
@@ -68,22 +68,6 @@ await $`bun ./packages/core/script/publish.ts`
|
||||
console.log("\n=== ui ===\n")
|
||||
await $`bun ./packages/ui/script/publish.ts`
|
||||
|
||||
if (Script.channel === "beta") {
|
||||
const packages = [
|
||||
"@opencode-ai/schema",
|
||||
"@opencode-ai/codemode",
|
||||
"@opencode-ai/theme",
|
||||
"@opencode-ai/ai",
|
||||
"@opencode-ai/util",
|
||||
"@opencode-ai/protocol",
|
||||
"@opencode-ai/client",
|
||||
"@opencode-ai/plugin",
|
||||
"@opencode-ai/core",
|
||||
"@opencode-ai/ui",
|
||||
]
|
||||
await Promise.all(packages.map((name) => $`npm dist-tag add ${`${name}@${Script.version}`} next`))
|
||||
}
|
||||
|
||||
if (Script.release) {
|
||||
await $`bun ./packages/desktop/scripts/finalize-latest-json.ts`
|
||||
await $`bun ./packages/desktop/scripts/finalize-latest-yml.ts`
|
||||
|
||||
Reference in New Issue
Block a user