diff --git a/Gruntfile.js b/Gruntfile.js index c2e821ad..77d48789 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -194,8 +194,12 @@ module.exports = function(grunt) { target: sources }, "git-describe": { + "options": { + failOnError: false + }, build: {} - } + }, + gitInfo: "unknown" }); // ---------- diff --git a/package.json b/package.json index ae9b05fe..231c5158 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,6 @@ }, "scripts": { "test": "grunt test", - "prepublish": "grunt build" + "prepare": "grunt build" } }