mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-10 19:05:09 +00:00
Remove newline in changelog-pr action (#461)
This commit is contained in:
parent
4bd68c1c8b
commit
349e9dad51
4
.github/workflows/changelog-pr.yml
vendored
4
.github/workflows/changelog-pr.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
LATEST_DATE=$(echo "$DATES" | sed -n '1p')
|
||||
SECOND_LATEST_DATE=$(echo "$DATES" | sed -n '2p')
|
||||
TODAY=$(date +%Y-%m-%d)
|
||||
TODAY=$(date -u +%Y-%m-%d)
|
||||
|
||||
echo "TODAY=$TODAY" >> $GITHUB_ENV
|
||||
if [ "$LATEST_DATE" == "$TODAY" ]; then
|
||||
@ -100,7 +100,7 @@ jobs:
|
||||
const changelogPath = path.resolve('CHANGELOG.md');
|
||||
const categorizedPRs = ${{ steps.get-categorized-prs.outputs.result }};
|
||||
|
||||
let newReleaseNotes = `\n## ${today}\n\n### Changed\n\n`;
|
||||
let newReleaseNotes = `## ${today}\n\n### Changed\n\n`;
|
||||
for (const { title, notes } of categorizedPRs) {
|
||||
if (notes.length > 0) {
|
||||
newReleaseNotes += `### ${title}\n\n${notes.join("\n")}\n\n`;
|
||||
|
@ -16,12 +16,6 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user