fix: move option in

This commit is contained in:
Mikeal Rogers 2019-01-26 23:35:38 +00:00
parent 08ca6cb482
commit d18b7650d7
1 changed files with 1 additions and 1 deletions

2
cli.js
View File

@ -17,7 +17,7 @@ let version = 'patch'
let pkg = require('./package.json')
let current = execSync(`npm view ${pkg.name} version`).toString()
process.stdout.write(execSync(`npm version ${current} --allow-same-version`))
process.stdout.write(execSync(`npm version --allow-same-version ${current} `))
process.stdout.write(execSync(`npm version ${version}`))
process.stdout.write(execSync(`npm publish --access=public`))
process.stdout.write(execSync(`git push --tags`))