aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monorepo-scripts/src')
-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 6e2f1c3b8..d1f9e4594 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 = /^\? Select a new version .* (currently .*)/.test(output);
if (isVersionPrompt) {
const outputStripLeft = output.split('new version for ')[1];
packageName = outputStripLeft.split(' ')[0];