fix: extra version declaration

This commit is contained in:
Mikeal Rogers 2019-02-01 03:03:42 +00:00
parent ded9a5da09
commit b5f596c4b4
1 changed files with 0 additions and 2 deletions

2
cli.js
View File

@ -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} `))