Skip to content

Commit ef0ee6a

Browse files
committed
Added npm publish step.
1 parent b6a91ba commit ef0ee6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/tasks/publish.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,12 @@ module.exports = function (grunt) {
284284
grunt.task.requires('build-only');
285285
var done = this.async();
286286
commitRelease()
287-
.then(publishRelease)
288-
.then(function () {
287+
.then(publishNpm)
288+
.then(publishRelease)
289+
.then(function () {
289290
grunt.log.writeln('Done publishing.');
290291
done();
291-
}).catch(function (e) {
292+
}).catch(function (e) {
292293
grunt.log.error(e);
293294
grunt.log.error(e.stack());
294295
done(false);

0 commit comments

Comments
 (0)