fix: proper args

This commit is contained in:
Mikeal Rogers 2019-01-26 23:40:54 +00:00
parent dc0f926573
commit 442667a9ed
1 changed files with 2 additions and 2 deletions

4
cli.js
View File

@ -17,8 +17,8 @@ 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 --git-tag-version ${current} `)) process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-version=false ${current} `))
process.stdout.write(execSync(`npm version --git-tag-version ${version}`)) process.stdout.write(execSync(`npm version --git-tag-version=false ${version}`))
process.stdout.write(execSync(`npm publish --access=public`)) process.stdout.write(execSync(`npm publish --access=public`))
process.stdout.write(execSync(`git push --tags`)) process.stdout.write(execSync(`git push --tags`))