Skip to content

Commit 6382698

Browse files
committed
keep manual content on regeneration
1 parent 5046550 commit 6382698

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/scripts/generate-changelog.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@ function generateChangelogMarkdown(
274274
for (const entry of sortedEntries) {
275275
markdown += `## ${entry.date}\n\n`;
276276

277+
// 수동 작성 내용이 있으면 렌더링
278+
if (entry.manualContent) {
279+
markdown += `<!-- MANUAL_CONTENT_START -->\n${entry.manualContent}\n<!-- MANUAL_CONTENT_END -->\n\n`;
280+
}
281+
277282
// changeset별 변경사항 (각 changeset의 개별 commit 링크와 함께)
278283
for (const changeset of entry.changesets) {
279284
const lines = changeset.content.split("\n");

0 commit comments

Comments
 (0)