Просмотр исходного кода

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

Ryan Vogel 3 недель назад
Родитель
Сommit
c60464de07
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      script/publish-start.ts

+ 2 - 2
script/publish-start.ts

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