From e9ccec76a6694e2da4af3efbdad93aa6f01113f2 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 12 Apr 2012 03:17:59 -0700 Subject: docs(changelog): release notes for 1.0.0rc5 reality-distortion --- changelog.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'changelog.js') diff --git a/changelog.js b/changelog.js index 59d72eeb..746b0f9d 100755 --- a/changelog.js +++ b/changelog.js @@ -38,10 +38,14 @@ var parseRawCommit = function(raw) { lines.forEach(function(line) { match = line.match(/Closes\s#(\d+)/); if (match) msg.closes.push(parseInt(match[1])); - - match = line.match(/Breaks\s(.*)/); - if (match) msg.breaks.push(match[1]); }); + + match = raw.match(/BREAKING CHANGE:([\s\S]*)/); + if (match) { + console.log('found!!!') + msg.breaks.push(match[1]); + } + msg.body = lines.join('\n'); match = msg.subject.match(/^(.*)\((.*)\)\:\s(.*)$/); -- cgit v1.2.3