Skip to content

Commit

Permalink
release: 0.1.2 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
sualko committed Apr 29, 2020
1 parent 2e99933 commit a5402c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
14 changes: 9 additions & 5 deletions scripts/publish-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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']);
}
}

Expand Down

0 comments on commit a5402c5

Please sign in to comment.