Remove carriage returns from release notes

This commit is contained in:
Wires77
2025-04-14 00:22:47 -05:00
committed by GitHub
parent 7492bd057c
commit 63d802cba7

View File

@@ -40,6 +40,7 @@ jobs:
sed -i 's/\[Voronoff/\[Tom Clancy Is Dead/' temp_change.md;
sed -i 's/\[PJacek/\[TPlant/' temp_change.md;
sed -i 's/\[justjuangui/\[trompetin17/' temp_change.md;
sed -i 's/\r//g' temp_change.md;
cp temp_change.md changelog_temp.txt;
cat CHANGELOG.md | tr \\r \\n | sed '1d' >> temp_change.md;
printf "# Changelog\n\n## [v${{ github.event.inputs.releaseVersion }}](https://github.com/PathOfBuildingCommunity/PathOfBuilding/tree/v${{ github.event.inputs.releaseVersion }}) ($(date +'%Y/%m/%d'))\n\n" | cat - temp_change.md > CHANGELOG.md;