diff options
| author | Dax Raad <[email protected]> | 2026-01-30 00:43:36 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-30 00:43:36 -0500 |
| commit | 5bef8e316ad99e899afc6caf9f5a3056e68efa04 (patch) | |
| tree | 610875090637418b78d7a41ddd1dc343e2fd40b6 /script/publish.ts | |
| parent | 08f11f4da6f16dd02024fba0914e13af7ba784c4 (diff) | |
| download | opencode-5bef8e316ad99e899afc6caf9f5a3056e68efa04.tar.gz opencode-5bef8e316ad99e899afc6caf9f5a3056e68efa04.zip | |
ci
Diffstat (limited to 'script/publish.ts')
| -rwxr-xr-x | script/publish.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/script/publish.ts b/script/publish.ts index 5fa84825b..84abe6a66 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -2,7 +2,6 @@ import { $ } from "bun" import { Script } from "@opencode-ai/script" -import { buildNotes, getLatestRelease } from "./changelog" const highlightsTemplate = ` <!-- @@ -58,17 +57,12 @@ await $`bun install` await import(`../packages/sdk/js/script/build.ts`) if (Script.release) { - // notes.unshift(highlightsTemplate) await $`git commit -am "release: v${Script.version}"` await $`git tag v${Script.version}` await $`git fetch origin` await $`git cherry-pick HEAD..origin/dev`.nothrow() await $`git push origin HEAD --tags --no-verify --force-with-lease` await new Promise((resolve) => setTimeout(resolve, 5_000)) - const previous = await getLatestRelease() - console.log("previous", previous) - const notes = await buildNotes(previous, "dev") - await $`gh release edit v${Script.version} --draft=false --title "v${Script.version}" --notes ${notes.join("\n") || "No notable changes"}` } console.log("\n=== cli ===\n") |
