From b5f596c4b45fae14289c2dce747c4c470903afe5 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Fri, 1 Feb 2019 03:03:42 +0000 Subject: [PATCH] fix: extra version declaration --- cli.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli.js b/cli.js index a476e94..423aef1 100644 --- a/cli.js +++ b/cli.js @@ -20,8 +20,6 @@ if (messages.map(message => message.includes('BREAKING CHANGE')).includes(true)) version = 'minor' } -let version = 'patch' - let pkg = require('./package.json') let current = execSync(`npm view ${pkg.name} version`).toString() process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-version=false ${current} `))