grunt-auto-release
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "grunt-auto-release", | ||
"description": "Grunt plugin for automatic releasing.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/vojtajina/grunt-auto-release", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -91,3 +91,3 @@ var GITHUB_REPO_REGEXP = /github\.com\/([\w-\.]+)\/([\w-\.]+)\.git/; | ||
runCmd('git describe --tags --abbrev=0', 'Getting the previous tag', function(tag, next, finish) { | ||
var latestTag = tag.replace('\n', ''); | ||
var latestTag = tag.replace(/\n/g, ''); | ||
@@ -111,3 +111,3 @@ execCmd('git log --grep="^feat|^fix" -E --oneline ' + latestTag + '..HEAD | wc -l', 'Checking for new changes since ' + latestTag, function(output) { | ||
runCmdIf(opts.checkTravisBuild, 'git show -s --format=%H HEAD', null, function(sha, next) { | ||
return next(sha.replace('\n', '')); | ||
return next(sha.replace(/\n/g, '')); | ||
}); | ||
@@ -114,0 +114,0 @@ |
6902