diff --git a/script/publish-start.ts b/script/publish-start.ts index 5d1b2fb6ab..644790f9dc 100755 --- a/script/publish-start.ts +++ b/script/publish-start.ts @@ -4,6 +4,35 @@ import { $ } from "bun" import { Script } from "@opencode-ai/script" import { buildNotes, getLatestRelease } from "./changelog" +const highlightsTemplate = `## Highlights + + + + + +` + let notes: string[] = [] console.log("=== publishing ===\n") @@ -11,6 +40,7 @@ console.log("=== publishing ===\n") if (!Script.preview) { const previous = await getLatestRelease() notes = await buildNotes(previous, "HEAD") + notes.unshift(highlightsTemplate) } const pkgjsons = await Array.fromAsync(