release: 0.1.2 🎉

pull/29/head v0.1.2
sualko 2020-04-29 13:30:30 +02:00
parent 2e99933880
commit a5402c5780
No known key found for this signature in database
GPG Key ID: 20C7433F9AD14FD7
3 changed files with 11 additions and 7 deletions

View File

@ -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.*
]]></description>
<version>0.1.1</version>
<version>0.1.2</version>
<licence>agpl</licence>
<author mail="klaus@jsxc.org">Klaus Herberth</author>
<namespace>BigBlueButton</namespace>

View File

@ -1,7 +1,7 @@
{
"name": "@sualko/cloud_bbb",
"description": "Nextcloud Integration for BigBlueButton",
"version": "0.1.1",
"version": "0.1.2",
"author": "Klaus Herberth <klaus@jsxc.org>",
"bugs": {
"url": "https://github.com/sualko/cloud_bbb/issues"

View File

@ -66,14 +66,18 @@ async function generateChangelog() {
let [, type, scope, description] = log.message.match(/^([a-z]+)(?:\((\w+)\))?: (.+)/);
let entry = { type, scope, description, issues: [] };
for (let match of log.body.match(/(?:fix|fixes|closes?|refs?) #(\d+)/g)) {
if(log.body) {
const matches = log.body.match(/(?:fix|fixes|closes?|refs?) #(\d+)/g) || [];
for (let match of matches) {
const [, number] = match.match(/(\d+)$/);
entry.issues.push(number);
}
}
if (!entries[type]) {
entries[type] = []
entries[type] = [];
}
entries[type].push(entry);
@ -142,7 +146,7 @@ async function commitChangeLog() {
if (!isDryRun) {
await git.add('CHANGELOG.md');
await git.commit('docs: update change log');
await git.commit('docs: update change log', ['-n']);
}
}