mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 10:49:41 +00:00
Fix newline issue in changelog pr (#474)
This commit is contained in:
parent
49d65442d1
commit
eda3ddf502
2 changed files with 2 additions and 1 deletions
2
.github/workflows/changelog-pr.yml
vendored
2
.github/workflows/changelog-pr.yml
vendored
|
@ -112,7 +112,7 @@ jobs:
|
||||||
|
|
||||||
// Replace todays release notes or insert release notes above previous release notes
|
// Replace todays release notes or insert release notes above previous release notes
|
||||||
const regex = changelogIncludesTodaysReleaseNotes ?
|
const regex = changelogIncludesTodaysReleaseNotes ?
|
||||||
new RegExp(`\n## ${today}.*(?=## ${latestDateInChangelog})`, "gs") :
|
new RegExp(`## ${today}.*(?=## ${latestDateInChangelog})`, "gs") :
|
||||||
new RegExp(`(?=## ${latestDateInChangelog})`, "gs");
|
new RegExp(`(?=## ${latestDateInChangelog})`, "gs");
|
||||||
|
|
||||||
const newChangelogContent = changelogContent.replace(regex, newReleaseNotes)
|
const newChangelogContent = changelogContent.replace(regex, newReleaseNotes)
|
||||||
|
|
|
@ -15,6 +15,7 @@ All LXC instances created using this repository come pre-installed with Midnight
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
|
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
|
||||||
|
|
||||||
## 2024-11-23
|
## 2024-11-23
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue