docs(release): prepare v1.1.84 highlights (#3729)

This commit is contained in:
陈大猫 authored and GitHub committed 2026-10-18 16:40:54 +08:00
1 parent fa08155f61
commit 9ce0b59583
3 files changed
+65 -1

No files matched your search

+5 -1
View File
@@ -117,5 +117,9 @@ See the
and [Privacy policy](https://github.com/${repo}/blob/${tag}/PRIVACY.md).
`;
fs.writeFileSync('release_notes.md', content);
// Keep editorial highlights scoped to their release so future tags do not
// accidentally reuse an older version's announcement.
const highlightsPath = path.join(__dirname, '..', 'release-notes', `${path.basename(tag)}.md`);
const highlights = fs.existsSync(highlightsPath) ? fs.readFileSync(highlightsPath, 'utf8').trim() : '';
fs.writeFileSync('release_notes.md', highlights ? `${highlights}\n\n${content.trimStart()}` : content);
console.log('Generated release_notes.md');