aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index d1f9e4594..4d5425ac6 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -193,7 +193,7 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
if (shouldPrintOutput) {
utils.log(output);
}
- const isVersionPrompt = /^\? Select a new version .* (currently .*)/.test(output);
+ const isVersionPrompt = _.includes(output, 'Select a new version');
if (isVersionPrompt) {
const outputStripLeft = output.split('new version for ')[1];
packageName = outputStripLeft.split(' ')[0];