mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
CI: Fixed publishall
This commit is contained in:
parent
170295919a
commit
5a4568f4db
@ -6,6 +6,9 @@ const tasks = {
|
|||||||
buildCommandIndex: require('./packages/tools/gulp/tasks/buildCommandIndex'),
|
buildCommandIndex: require('./packages/tools/gulp/tasks/buildCommandIndex'),
|
||||||
completePublishAll: {
|
completePublishAll: {
|
||||||
fn: async () => {
|
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
|
// Lerna does some unnecessary auth check that doesn't work with
|
||||||
// automation tokens, thus the --no-verify-access. Automation token
|
// automation tokens, thus the --no-verify-access. Automation token
|
||||||
// is still used for access when publishing even with this flag
|
// 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('yarn', ['install']);
|
||||||
await utils.execCommandVerbose('git', ['add', '-A']);
|
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']);
|
await utils.execCommandVerbose('git', ['push']);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user