Skip to content

Commit

Permalink
chore: Improve changelog generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 23, 2023
1 parent b3fbf78 commit a093428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generateChangelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ for (const changelog of changelogs) {
let message = changeMatch[3].trim();
if (message.endsWith('.')) message = message.substring(0, message.length - 1);

const otherUser = message.match(/\[@(.+)\]\(https:\/\/github.com\/.+\)/);
const otherUser = message.match(/\[@(.+)\]\(https:\/\/github.com\/.+\)/) || message.match(/@(.+)/);
if (otherUser) {
user = otherUser[1];
message = message.replace(otherUser[0], '');
Expand Down

0 comments on commit a093428

Please sign in to comment.