Skip to content

Commit fd58eb1

Browse files
author
LocalIdentity
committed
Fix changelog line endings again
1 parent cdeb0d4 commit fd58eb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/tweak_changelogs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sed -i -re 's/\*\*Full Changelog\*\*: (.*)/\[Full Changelog\]\(\1\)\n/' temp_cha
1212
sed -i '/## New Contributors/,$d' temp_change.md
1313
# Convert GitHub changelog entries from "* description by @username in pull/URL/number"
1414
# to "- description [#number](pull/URL/number) ([username](https://github.com/username))" format
15-
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md
15+
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)\r?/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md;
1616
# Username substitutions for preferred display names
1717
sed -i 's/\[Quotae/\[Quote_a/' temp_change.md
1818
sed -i 's/\[learn2draw/\[Lexy/' temp_change.md

0 commit comments

Comments
 (0)