Skip to content

Commit

Permalink
Preserve changelog page name when generating release
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Nov 27, 2024
1 parent 3f5516d commit 765218e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Changelog
---

## Unreleased

## v0.27.0 (2024-11-27)
Expand Down
3 changes: 3 additions & 0 deletions scripts/create_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ async function main() {
date.getUTCDate().toString().padStart(2, "0"),
].join("-");
fullChangelog =
"---\n" +
"title: Changelog\n" +
"---\n\n" +
"## Unreleased\n\n" +
`## ${currentVersion} (${dateStr})` +
fullChangelog.substring(start);
Expand Down

0 comments on commit 765218e

Please sign in to comment.