From f0c4f5a875f902935b1cb8f2e73a2ce57a4ea738 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Fri, 22 Mar 2013 09:40:37 -0700 Subject: [PATCH] Fixed git-describe grunt task --- Gruntfile.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 9dbc730a..b400e2e3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,7 +66,7 @@ module.exports = function(grunt) { options: { banner: "//! <%= pkg.name %> <%= pkg.version %>\n" + "//! Built on <%= grunt.template.today('yyyy-mm-dd') %>\n" - + "//! <%= grunt.config.get('describeResult') %>\n" + + "//! Git commit: <%= gitInfo %>\n" + "//! http://openseadragon.github.com\n\n", process: true }, @@ -135,7 +135,10 @@ module.exports = function(grunt) { }, "git-describe": { options: { - prop: "describeResult" + prop: "gitInfo" + }, + build: { + // Nothing here; we just need it in order to trigger this task } } });