Skip to content

Commit

Permalink
Added npm publish step.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanaye committed Feb 13, 2017
1 parent b6a91ba commit ef0ee6a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/tasks/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,12 @@ module.exports = function (grunt) {
grunt.task.requires('build-only');
var done = this.async();
commitRelease()
.then(publishRelease)
.then(function () {
.then(publishNpm)
.then(publishRelease)
.then(function () {
grunt.log.writeln('Done publishing.');
done();
}).catch(function (e) {
}).catch(function (e) {
grunt.log.error(e);
grunt.log.error(e.stack());
done(false);
Expand Down

0 comments on commit ef0ee6a

Please sign in to comment.