From 8cb5a637ab1867487ce5033a1d7d859ec2590995 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sat, 9 Nov 2019 17:47:39 +0800 Subject: [PATCH] workflow: don't skip version prompt for local release [ci skip] --- scripts/release.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/release.js b/scripts/release.js index ec803f7515..35b5c16c75 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -41,13 +41,6 @@ const { syncDeps } = require('./syncDeps') // const { buildEditorConfig } = require('./buildEditorConfig') const cliOptions = minimist(process.argv) -if (cliOptions['local-registry']) { - inquirer.prompt = () => ({ - bump: 'minor', - yes: true - }) -} - const curVersion = require('../lerna.json').version const release = async () => {