mirror of https://github.com/sualko/cloud_bbb
parent
2e99933880
commit
a5402c5780
|
@ -13,7 +13,7 @@ Developer wanted! If you have time it would be awesome if you could help to enha
|
||||||
|
|
||||||
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>0.1.1</version>
|
<version>0.1.2</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
||||||
<namespace>BigBlueButton</namespace>
|
<namespace>BigBlueButton</namespace>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@sualko/cloud_bbb",
|
"name": "@sualko/cloud_bbb",
|
||||||
"description": "Nextcloud Integration for BigBlueButton",
|
"description": "Nextcloud Integration for BigBlueButton",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"author": "Klaus Herberth <klaus@jsxc.org>",
|
"author": "Klaus Herberth <klaus@jsxc.org>",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/sualko/cloud_bbb/issues"
|
"url": "https://github.com/sualko/cloud_bbb/issues"
|
||||||
|
|
|
@ -66,14 +66,18 @@ async function generateChangelog() {
|
||||||
let [, type, scope, description] = log.message.match(/^([a-z]+)(?:\((\w+)\))?: (.+)/);
|
let [, type, scope, description] = log.message.match(/^([a-z]+)(?:\((\w+)\))?: (.+)/);
|
||||||
let entry = { type, scope, description, issues: [] };
|
let entry = { type, scope, description, issues: [] };
|
||||||
|
|
||||||
for (let match of log.body.match(/(?:fix|fixes|closes?|refs?) #(\d+)/g)) {
|
if(log.body) {
|
||||||
const [, number] = match.match(/(\d+)$/);
|
const matches = log.body.match(/(?:fix|fixes|closes?|refs?) #(\d+)/g) || [];
|
||||||
|
|
||||||
entry.issues.push(number);
|
for (let match of matches) {
|
||||||
|
const [, number] = match.match(/(\d+)$/);
|
||||||
|
|
||||||
|
entry.issues.push(number);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!entries[type]) {
|
if (!entries[type]) {
|
||||||
entries[type] = []
|
entries[type] = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
entries[type].push(entry);
|
entries[type].push(entry);
|
||||||
|
@ -142,7 +146,7 @@ async function commitChangeLog() {
|
||||||
|
|
||||||
if (!isDryRun) {
|
if (!isDryRun) {
|
||||||
await git.add('CHANGELOG.md');
|
await git.add('CHANGELOG.md');
|
||||||
await git.commit('docs: update change log');
|
await git.commit('docs: update change log', ['-n']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue