mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
fix(script): remove highlights template from release notes (#11052)
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user