From 5a4568f4dbfd763ea7143abd8d35c2741af928ed Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 26 Feb 2023 12:33:59 +0000 Subject: [PATCH] CI: Fixed publishall --- gulpfile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 64531928a..8bd5d4a87 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -6,6 +6,9 @@ const tasks = { buildCommandIndex: require('./packages/tools/gulp/tasks/buildCommandIndex'), completePublishAll: { fn: async () => { + await utils.execCommandVerbose('git', ['add', '-A']); + await utils.execCommandVerbose('git', ['commit', '-m', 'Releasing sub-packages']); + // Lerna does some unnecessary auth check that doesn't work with // automation tokens, thus the --no-verify-access. Automation token // is still used for access when publishing even with this flag @@ -15,7 +18,8 @@ const tasks = { await utils.execCommandVerbose('yarn', ['install']); await utils.execCommandVerbose('git', ['add', '-A']); - await utils.execCommandVerbose('git', ['commit', '-m', 'Releasing sub-packages']); + await utils.execCommandVerbose('git', ['commit', '-m', 'Lock file']); + await utils.execCommandVerbose('git', ['push']); }, },