You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle multiple PRs and contributors in changelog generation + Simplify CR handling (#1396)
* Simplify CR characters handling in changelog generation
* Support for multiple contributors and/or PRs in changelog
* Prevent the generation of empty changelogs on beta release
# Convert changelog entries from markdown link format to simplified "* description (username)" format
31
-
sed -i -re 's/^- (.*) \[.*\) \(\[(.*)\]\(.*/* \1 (\2)/' changelog_temp.txt
47
+
# First remove all PR links
48
+
sed -i -re 's/( \()?\[\\#[0-9]+\]\([^)]*\),? ?\)?//g' changelog_temp.txt
49
+
# Remove markdown link formatting from usernames in parentheses
50
+
sed -i -re 's/\[([^]]*)\]\(https:\/\/github\.com\/[^)]*\)/\1/g' changelog_temp.txt
32
51
# Create new changelog format: add version header, remove lines 2-3, format section headers, remove ## headers with following line, prepend to existing changelog
0 commit comments