mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 17:02:24 -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'));
|
||||
});
|
||||
|
||||
gulp.task('publish:packages',
|
||||
packages.map(function(name) {
|
||||
return 'publish:packages:' + name;
|
||||
})
|
||||
);
|
||||
gulp.task('publish:packages', function() {
|
||||
// Publish packages in series instead of in parallel, to see if this fixes
|
||||
// recent issues with `npm publish`:
|
||||
return run(
|
||||
packages.map(function(name) {
|
||||
return 'publish:packages:' + name;
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
packages.forEach(function(name) {
|
||||
gulp.task('publish:packages:' + name, ['publish:version'], function() {
|
||||
|
|
Loading…
Reference in a new issue