From fd59f09c281db36cbe30001b86b51f4fa54e6a69 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 14 Sep 2014 22:02:20 -0700 Subject: [PATCH] add explanatory note to changelog Conflicts: CHANGELOG.md --- CHANGELOG.md | 2 ++ Gruntfile.coffee | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83884539c..a460953d8 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +The attributions below are for work that has been incorporated into the script and do not indicate direct involvement in this fork. All changes to the script are the fault of the maintainer (ccd0). + ### v1.9.2.9 *2014-09-13* diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 0ae0aa899..baf293932 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -307,6 +307,7 @@ module.exports = (grunt) -> headerPrefix = new Array(+headerLevel + 1).join '#' today = grunt.template.today 'yyyy-mm-dd' changelog = grunt.file.read 'CHANGELOG.md' + [_, note, body] = changelog.match /([^]*?\n\n)([^]*)/ - grunt.file.write 'CHANGELOG.md', "#{headerPrefix} v#{version} \n*#{today}*\n\n#{changelog}" + grunt.file.write 'CHANGELOG.md', "#{note}#{headerPrefix} v#{version} \n*#{today}*\n\n#{body}" grunt.log.ok "Changelog updated for v#{version}."