From dc0f926573bd6bcf9f244d4f48b3569b113f75ee Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sat, 26 Jan 2019 23:39:45 +0000 Subject: [PATCH] fix: don't tag and commit --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index 8656390..608e8ed 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 ${current} `)) -process.stdout.write(execSync(`npm version ${version}`)) +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 publish --access=public`)) process.stdout.write(execSync(`git push --tags`))