From 87d91877831007cddef5cf6a3505affddc0eb15b Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 13 Mar 2013 23:50:00 +0100 Subject: [PATCH] Add the date next to the version in the changelog. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index bc9263a64..fe706575c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -98,7 +98,7 @@ module.exports = function(grunt) { // Update the `pkg` object with the new version. pkg = grunt.file.readJSON('package.json'); // i is the number of #s for markdown. - var version = new Array(+i + 1).join('#') + ' ' + pkg.version; + var version = new Array(+i + 1).join('#') + ' ' + pkg.version + ' *(' + grunt.template.today('yyyy-mm-dd') + ')*'; grunt.file.write('CHANGELOG.md', version + '\n' + grunt.file.read('CHANGELOG.md')); grunt.log.ok('Changelog updated for v' + pkg.version + '.'); });