grunt-iw-release
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "grunt-iw-release", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "InsideWarehouse release/deploy flow", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -6,2 +6,4 @@ grunt-iw-release | ||
TODO: wait for it... wait for it... document options :) | ||
## `release` task | ||
@@ -8,0 +10,0 @@ |
@@ -76,3 +76,3 @@ module.exports = function (grunt) { | ||
var tagOutput = shell.exec("git rev-parse " + checkTag, {silent: true}); | ||
var tagOutput = shell.exec("git rev-parse " + checkTag + " | head -n 1", {silent: true}); | ||
if (tagOutput.code !== 0) { | ||
@@ -79,0 +79,0 @@ grunt.fail.fatal("Failed to detect the commit of tag '" + checkTag + "'"); |
8871
40