diff --git a/Gruntfile.js b/Gruntfile.js index 052c6bf6661f537eb60b25e3f0c646076c0916bb..67515fe17e6335672c6202161bc07aa6d2bca0ee 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -231,7 +231,7 @@ module.exports = function(grunt) { cmd: function() { return 'git log --oneline ' + grunt.config('last_tag') + '..HEAD'; }, stdout: false, callback: function(err, stdout) { - var commits = stdout.replace(/^[a-f0-9]{9}\s/gm, '').replace('`', '').trim(); // removes commit hashes, and ` + var commits = stdout.replace(/^[a-f0-9]{9}\s/gm, '').replace(/`/gm, '').trim(); // removes commit hashes, and ` if (commits) { grunt.config('commits', commits); } else {