mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Change publish:packages task to publish in series
This commit is contained in:
parent
cb3fd61b6f
commit
41094cd871
1 changed files with 9 additions and 5 deletions
|
@ -82,11 +82,15 @@ gulp.task('publish:release', function() {
|
||||||
.pipe(shell('npm publish'));
|
.pipe(shell('npm publish'));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('publish:packages',
|
gulp.task('publish:packages', function() {
|
||||||
packages.map(function(name) {
|
// Publish packages in series instead of in parallel, to see if this fixes
|
||||||
return 'publish:packages:' + name;
|
// recent issues with `npm publish`:
|
||||||
})
|
return run(
|
||||||
);
|
packages.map(function(name) {
|
||||||
|
return 'publish:packages:' + name;
|
||||||
|
})
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
packages.forEach(function(name) {
|
packages.forEach(function(name) {
|
||||||
gulp.task('publish:packages:' + name, ['publish:version'], function() {
|
gulp.task('publish:packages:' + name, ['publish:version'], function() {
|
||||||
|
|
Loading…
Reference in a new issue