Also skip prompt when publishing for real
This commit is contained in:
parent
1b1733ce7c
commit
d836b0f815
@ -184,9 +184,9 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
|
|||||||
}).join(',');
|
}).join(',');
|
||||||
let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --registry=${
|
let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --registry=${
|
||||||
configs.NPM_REGISTRY_URL
|
configs.NPM_REGISTRY_URL
|
||||||
}`;
|
} --yes`;
|
||||||
if (configs.IS_LOCAL_PUBLISH) {
|
if (configs.IS_LOCAL_PUBLISH) {
|
||||||
lernaPublishCmd += ` --skip-git --yes`;
|
lernaPublishCmd += ` --skip-git`;
|
||||||
}
|
}
|
||||||
utils.log('Lerna is publishing...');
|
utils.log('Lerna is publishing...');
|
||||||
await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath });
|
await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user