mirror of https://github.com/sualko/cloud_bbb
build: skip merge commits
parent
728ebae956
commit
6d6a07dab4
|
@ -64,7 +64,13 @@ async function generateChangelog() {
|
|||
const entries = {};
|
||||
|
||||
logs.all.forEach(log => {
|
||||
const [, type, scope, description] = log.message.match(/^([a-z]+)(?:\((\w+)\))?: (.+)/);
|
||||
const match = log.message.match(/^([a-z]+)(?:\((\w+)\))?: (.+)/);
|
||||
|
||||
if (!match) {
|
||||
return;
|
||||
}
|
||||
|
||||
const [, type, scope, description] = match;
|
||||
const entry = { type, scope, description, issues: [] };
|
||||
|
||||
if(log.body) {
|
||||
|
|
Loading…
Reference in New Issue