From d18b7650d74f13e3396d1315e9c953a075ce5342 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sat, 26 Jan 2019 23:35:38 +0000 Subject: [PATCH] fix: move option in --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index f4c3224..8656390 100644 --- a/cli.js +++ b/cli.js @@ -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`))