mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
added release:push:docs task
This commit is contained in:
parent
326816fcf7
commit
04cbd1d04f
1 changed files with 5 additions and 1 deletions
|
@ -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' }));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue