fix: extra version declaration
This commit is contained in:
parent
ded9a5da09
commit
b5f596c4b4
2
cli.js
2
cli.js
|
@ -20,8 +20,6 @@ if (messages.map(message => message.includes('BREAKING CHANGE')).includes(true))
|
||||||
version = 'minor'
|
version = 'minor'
|
||||||
}
|
}
|
||||||
|
|
||||||
let version = 'patch'
|
|
||||||
|
|
||||||
let pkg = require('./package.json')
|
let pkg = require('./package.json')
|
||||||
let current = execSync(`npm view ${pkg.name} version`).toString()
|
let current = execSync(`npm view ${pkg.name} version`).toString()
|
||||||
process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-version=false ${current} `))
|
process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-version=false ${current} `))
|
||||||
|
|
Loading…
Reference in New Issue