fix(script): remove highlights template from release notes (#11052)

This commit is contained in:
Ryan Vogel
2026-01-28 17:34:14 -05:00
committed by GitHub
parent 4e41ca74b9
commit c60464de07

View File

@@ -6,7 +6,7 @@ import { buildNotes, getLatestRelease } from "./changelog"
const highlightsTemplate = `## Highlights const highlightsTemplate = `## Highlights
<!-- <!--
Add highlights before publishing. Delete this section if no highlights. Add highlights before publishing. Delete this section if no highlights.
- For multiple highlights, use multiple <highlight> tags - For multiple highlights, use multiple <highlight> tags
@@ -40,7 +40,7 @@ console.log("=== publishing ===\n")
if (!Script.preview) { if (!Script.preview) {
const previous = await getLatestRelease() const previous = await getLatestRelease()
notes = await buildNotes(previous, "HEAD") notes = await buildNotes(previous, "HEAD")
notes.unshift(highlightsTemplate) // notes.unshift(highlightsTemplate)
} }
const pkgjsons = await Array.fromAsync( const pkgjsons = await Array.fromAsync(