Tools: Allow publishing all lib packages to @joplin

This commit is contained in:
Laurent Cozic committed 2020-12-14 14:55:31 +00:00
1 parent 46d22d8847
commit 4180d4bd28
17 files changed
+51 -38

No files matched your search

+5 -5
View File
@@ -8,11 +8,11 @@ const tasks = {
// deleteBuildDirs: require('./packages/tools/gulp/tasks/deleteBuildDirs'),
completePublishAll: {
fn: async () => {
await utils.execCommandVerbose('git pull');
await utils.execCommandVerbose('git add -A');
await utils.execCommandVerbose('git commit -m "Releasing sub-packages"');
await utils.execCommandVerbose('lerna publish from-package -y');
await utils.execCommandVerbose('git push');
// await utils.execCommandVerbose('git pull');
await utils.execCommandVerbose('git', ['add', '-A']);
await utils.execCommandVerbose('git', ['commit', '-m', 'Releasing sub-packages']);
await utils.execCommandVerbose('lerna', ['publish', 'from-package', '-y']);
await utils.execCommandVerbose('git', ['push']);
},
},
};