summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2013-10-09 03:41:58 -0700
committerkpdecker <kpdecker@gmail.com>2013-10-09 03:41:58 -0700
commit4e4c016be5f96e25c29e98f8f33119252dd8f896 (patch)
tree8d8e220597bba8b6aa4c71d51c4baf89e1467471 /tasks
parent2abe4d404da1b2876b04ce6df7b552450e0b11f1 (diff)
parent782aae95d0b430058e2f65b8eba1621453f9055e (diff)
downloadhandlebars.js-4e4c016be5f96e25c29e98f8f33119252dd8f896.zip
handlebars.js-4e4c016be5f96e25c29e98f8f33119252dd8f896.tar.gz
handlebars.js-4e4c016be5f96e25c29e98f8f33119252dd8f896.tar.bz2
Merge branch 'master' into es6-modules
Diffstat (limited to 'tasks')
-rw-r--r--tasks/publish.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/publish.js b/tasks/publish.js
index 72a4643..564ce08 100644
--- a/tasks/publish.js
+++ b/tasks/publish.js
@@ -6,7 +6,6 @@ var _ = require('underscore'),
module.exports = function(grunt) {
grunt.registerTask('publish:latest', function() {
var done = this.async();
- initSDK();
git.debug(function(remotes, branches) {
grunt.log.writeln('remotes: ' + remotes);
@@ -14,6 +13,7 @@ module.exports = function(grunt) {
git.commitInfo(function(err, info) {
if (info.isMaster) {
+ initSDK();
publish(fileMap(['-latest', '-' + info.head]), done);
} else {
// Silently ignore for branches