Fix newline issue in changelog pr (#474)

This commit is contained in:
Håvard Gjøby Thom 2024-11-23 23:56:19 +01:00 committed by GitHub
parent 49d65442d1
commit eda3ddf502
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,7 @@ jobs:
// Replace todays release notes or insert release notes above previous release notes
const regex = changelogIncludesTodaysReleaseNotes ?
new RegExp(`\n## ${today}.*(?=## ${latestDateInChangelog})`, "gs") :
new RegExp(`## ${today}.*(?=## ${latestDateInChangelog})`, "gs") :
new RegExp(`(?=## ${latestDateInChangelog})`, "gs");
const newChangelogContent = changelogContent.replace(regex, newReleaseNotes)

View File

@ -15,6 +15,7 @@ All LXC instances created using this repository come pre-installed with Midnight
> [!IMPORTANT]
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
## 2024-11-23
### Changed