fix(script): remove highlights template from release notes
parent
213c0e18ab
commit
5422f7d6af
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue