0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

fix release tasks

This commit is contained in:
liabru 2016-11-04 00:14:50 +00:00
parent 54e7d9c4a2
commit 549983d651

View file

@ -42,7 +42,7 @@ gulp.task('release', function(callback) {
message: 'cannot build release as there are uncomitted changes'
});
} else {
sequence('build:dev', 'build:examples', 'test', 'bump', 'reload', 'build:edge', 'build:release', 'doc', 'changelog', callback);
sequence('build:dev', 'build:examples', 'test', 'bump', 'reload', 'build:release', 'doc', 'changelog', callback);
}
});
});
@ -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', 'release:push:docs', callback);
sequence('tag', 'release:push:git', 'release:push:npm', callback);
}
});
});
@ -82,10 +82,6 @@ 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: pkg.version + '-dev' }));
});
@ -131,7 +127,7 @@ gulp.task('watch', function() {
gulp.task('bump', function() {
return gulp.src(['package.json', 'bower.json'])
.pipe(bump({ type: process.argv[4] || 'patch' }))
.pipe(bump({ type: process.argv[4] || 'minor' }))
.pipe(gulp.dest('.'));
});