diff options
-rw-r--r-- | README.markdown | 1 | ||||
-rw-r--r-- | tasks/publish.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index dca8ca6..6ea94f8 100644 --- a/README.markdown +++ b/README.markdown @@ -361,6 +361,7 @@ Handlebars in the Wild * [Assemble](http://assemble.io), by [@jonschlinkert](https://github.com/jonschlinkert) and [@doowb](https://github.com/doowb), is a static site generator that uses Handlebars.js as its template engine. +* [CoSchedule](http://coschedule.com) An editorial calendar for WordPress that uses Handlebars.js * [Ember.js](http://www.emberjs.com) makes Handlebars.js the primary way to structure your views, also with automatic data binding support. * [handlebars_assets](http://github.com/leshill/handlebars_assets): A Rails Asset Pipeline gem 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 |