0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-30 10:20:52 -05:00

added release:push:docs task

This commit is contained in:
liabru 2016-04-28 20:36:04 +01:00
parent 326816fcf7
commit 04cbd1d04f

View file

@ -55,7 +55,7 @@ gulp.task('release:push', function(callback) {
message: 'cannot push release as it has not yet been committed'
});
} else {
sequence('tag', 'release:push:git', 'release:push:github', 'release:push:npm', callback);
sequence('tag', 'release:push:git', 'release:push:github', 'release:push:npm', 'release:push:docs', callback);
}
});
});
@ -82,6 +82,10 @@ gulp.task('release:push:npm', function(callback) {
shell('npm publish', callback);
});
gulp.task('release:push:docs', function(callback) {
shell('../deploy-docs.sh', callback);
});
gulp.task('build:dev', function() {
return build(extend(extend({}, pkg), { version: 'dev' }));
});