From 442667a9edcea2fb6d909ced90632ee1a448ced4 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sat, 26 Jan 2019 23:40:54 +0000 Subject: [PATCH] fix: proper args --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index 608e8ed..efc4dd4 100644 --- a/cli.js +++ b/cli.js @@ -17,8 +17,8 @@ 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 --git-tag-version ${current} `)) -process.stdout.write(execSync(`npm version --git-tag-version ${version}`)) +process.stdout.write(execSync(`npm version --allow-same-version=true --git-tag-version=false ${current} `)) +process.stdout.write(execSync(`npm version --git-tag-version=false ${version}`)) process.stdout.write(execSync(`npm publish --access=public`)) process.stdout.write(execSync(`git push --tags`))