diff options
| author | Igor Minar | 2012-04-12 03:17:59 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-04-12 03:26:10 -0700 |
| commit | e9ccec76a6694e2da4af3efbdad93aa6f01113f2 (patch) | |
| tree | 8bbb1208ee6889ee4744986fdb2c345bec0ed0f3 /changelog.js | |
| parent | 2037facc998b4da2bbb2b62690faf4d970470c12 (diff) | |
| download | angular.js-e9ccec76a6694e2da4af3efbdad93aa6f01113f2.tar.bz2 | |
docs(changelog): release notes for 1.0.0rc5 reality-distortion
Diffstat (limited to 'changelog.js')
| -rwxr-xr-x | changelog.js | 10 |
1 files changed, 7 insertions, 3 deletions
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(.*)$/); |
