From 69a1c05bdb609064832839841ff64548384a85e9 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sat, 26 Jan 2019 23:34:36 +0000 Subject: [PATCH] fix: allow same version on setup --- cli.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli.js b/cli.js index e51e723..f4c3224 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}`)) +process.stdout.write(execSync(`npm version ${current} --allow-same-version`)) process.stdout.write(execSync(`npm version ${version}`)) process.stdout.write(execSync(`npm publish --access=public`)) process.stdout.write(execSync(`git push --tags`)) diff --git a/package.json b/package.json index 9ca08cf..b469136 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "merge-release", - "version": "1.9.2", + "version": "0.0.0-dev", "description": "", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"