diff --git a/appinfo/info.xml b/appinfo/info.xml index a224de9..824446b 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -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.* ]]> - 0.1.1 + 0.1.2 agpl Klaus Herberth BigBlueButton diff --git a/package.json b/package.json index 5a8d9a6..5e29d6a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@sualko/cloud_bbb", "description": "Nextcloud Integration for BigBlueButton", - "version": "0.1.1", + "version": "0.1.2", "author": "Klaus Herberth ", "bugs": { "url": "https://github.com/sualko/cloud_bbb/issues" diff --git a/scripts/publish-release.js b/scripts/publish-release.js index a0d0457..d2bedf7 100644 --- a/scripts/publish-release.js +++ b/scripts/publish-release.js @@ -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)) { - const [, number] = match.match(/(\d+)$/); + if(log.body) { + 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]) { - 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']); } }