/* jshint node:true */
var RSVP = require('rsvp');
var publisher = require('publish');

// Create promise friendly versions of the methods we want to use
var start = RSVP.denodeify(publisher.start);
var publish = RSVP.denodeify(publisher.publish);

module.exports = {
  manifest: ['package.json', 'bower.json'],

  // Publish the new release to NPM after a successful push
  // If run from travis, this will look for the NPM_USERNAME, NPM_PASSWORD and
  // NPM_EMAIL environment variables to publish the package as
  afterPush: function() {
    return start().then(function() {
      return publish({});
    });
  }
};

@@ -20,234 +20,8 @@
  */%0A
-var RSVP = require('rsvp');%0Avar publisher = require('publish');%0A%0A// Create promise friendly versions of the methods we want to use%0Avar start = RSVP.denodeify(publisher.start);%0Avar publish = RSVP.denodeify(publisher.publish);%0A%0A
 modu
@@ -83,311 +83,23 @@
 '%5D,%0A
-%0A
   
-// Publish the new release to NPM after a successful push%0A  // If run from travis, this will look for the NPM_USERNAME, NPM_PASSWORD and%0A  // NPM_EMAIL environment variables to publish the package as%0A  afterPush: function() %7B%0A    return start().then(function() %7B%0A      return publish(%7B%7D);%0A    %7D);%0A  %7D
+publish: true
 %0A%7D;%0A

Update release config