Skip to content

Commit e5efdfc

Browse files
committed
Carriage return is not always present in release notes
1 parent a79492e commit e5efdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
sed -i '1h;1d;$!H;$!d;G' temp_change.md;
3535
sed -i -re 's/\*\*Full Changelog\*\*: (.*)/\[Full Changelog\]\(\1\)\n/' temp_change.md;
3636
sed -i '/## New Contributors/,$d' temp_change.md;
37-
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)\r/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md;
37+
sed -i -re 's/^\*(.*)\sby\s@(.*)\sin\s(.*\/pull\/)(.*)\r?/-\1 [\\#\4](\3\4) ([\2](https:\/\/github.com\/\2))/' temp_change.md;
3838
sed -i 's/\[Quotae/\[Quote_a/' temp_change.md;
3939
sed -i 's/\[learn2draw/\[Lexy/' temp_change.md;
4040
sed -i 's/\[Voronoff/\[Tom Clancy Is Dead/' temp_change.md;

0 commit comments

Comments
 (0)