fix changelog message parsing with additional :

This commit is contained in:
pooya parsa 2019-05-09 11:50:00 +04:30
parent c1435df125
commit d171923b80

View File

@ -84,7 +84,8 @@ async function getGitDiff(from, to) {
function parseCommits(commits) {
return commits.filter(c => c.message.includes(':')).map((commit) => {
let [type, message] = commit.message.split(':')
let [type, ...message] = commit.message.split(':')
message = message.join(':')
// Extract references from message
const references = []