aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/publish.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 03:12:47 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 03:12:47 +0800
commit68974313e178bdee3c45b4556406960eaa26ce2a (patch)
treeb656a466de863dbea2472b833b89173360220afa /packages/monorepo-scripts/src/publish.ts
parent39a06e1d3b977b88225b18e171338196b17691df (diff)
downloaddexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar.gz
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar.bz2
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar.lz
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar.xz
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.tar.zst
dexon-sol-tools-68974313e178bdee3c45b4556406960eaa26ce2a.zip
Make regex less strict
Diffstat (limited to 'packages/monorepo-scripts/src/publish.ts')
-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];