Compare commits

...
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -968,7 +968,8 @@ function App(props: { pair?: DialogPairCredentials }) {
{
name: "opencode.update",
title: "Update OpenCode",
slash: { name: "update", aliases: ["upgrade"] },
description: "Update OpenCode (upgrade)",
slash: { name: "update" },
run: () => updater.open?.("manual"),
category: "System",
},
+6
View File
@@ -10,6 +10,12 @@ const dir = fileURLToPath(new URL("..", import.meta.url))
process.chdir(dir)
const tag = `v${Script.version}`
if (Script.channel === "beta" && Script.release) {
console.log("\n=== desktop beta release ===\n")
await $`bun ./packages/desktop/scripts/publish.ts`
process.exit(0)
}
const pkgjsons = await Array.fromAsync(
new Bun.Glob("**/package.json").scan({
absolute: true,