From bf463aee04bee55a1bf616be1ab1d14ed48f105f Mon Sep 17 00:00:00 2001 From: Ryan Vogel Date: Mon, 26 Jan 2026 19:37:54 -0500 Subject: [PATCH] feat(release): add highlights template to draft releases (#10745) --- script/publish-start.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/script/publish-start.ts b/script/publish-start.ts index 5d1b2fb6a..644790f9d 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(