mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
chore(ci): fix release-it arg; (#6032)
This commit is contained in:
+6
-2
@@ -201,8 +201,12 @@ const renderPRsList = async (tag, template, {comments_threshold= 5, awesome_thre
|
||||
|
||||
pr.messages = [];
|
||||
|
||||
if (body && (match = /```+changelog(.+)?```/gms.exec(body)) && match[1]) {
|
||||
pr.messages.push(match[1]);
|
||||
if (body) {
|
||||
const reg = /```+changelog\n*(.+?)?\n*```/gms;
|
||||
|
||||
while((match = reg.exec(body))) {
|
||||
match[1] && pr.messages.push(match[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user