Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/RELEASE_TEMPLATE/release_note.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 📦 NoteWizard Release Notes
### NoteWizard

<!-- PRE_RELEASE_WARNING_START -->
**⚠️ This is a pre-release version intended for testing and evaluation only.**
Expand All @@ -17,7 +17,7 @@ _No changes for this release._
<!-- COMPARE_LINK_END -->

<!-- FULL_CHANGELOG_START -->
#### 📝 Full Changelog
#### Full Changelog
- [English](https://github.com/jetyu/NoteWizard/blob/main/src/assets/changelog/history_en.md)
- [简体中文](https://github.com/jetyu/NoteWizard/blob/main/src/assets/changelog/history_cn.md)
<!-- FULL_CHANGELOG_END -->
6 changes: 3 additions & 3 deletions scripts/generateReleaseNotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ function removeBlock(template, startMarker, endMarker) {
}

function replaceTitle(template, isPreRelease) {
const titleRegex = /^### 📦 NoteWizard.*$/m;
const titleRegex = /^### NoteWizard.*$/m;

const newTitle = isPreRelease
? '### 📦 NoteWizard Pre-Release Notes'
: '### 📦 NoteWizard Release Notes';
? '### NoteWizard Pre-Release Notes'
: '### NoteWizard Release Notes';

if (!titleRegex.test(template)) {
throw new Error('Missing expected title line.');
Expand Down