From 9dccc0180c63cfb073b4890e63bef0c55edf347f Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Tue, 10 Sep 2019 01:53:52 +0000 Subject: [PATCH] debug: more printing --- merge-release-run.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/merge-release-run.js b/merge-release-run.js index 05da56c..3b4db12 100644 --- a/merge-release-run.js +++ b/merge-release-run.js @@ -54,8 +54,9 @@ const run = async () => { let current = execSync(`npm view ${pkg.name} version`).toString() exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `) + console.log('current:', current, '/', 'version:', version) let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString() - console.log(newVersion) + console.log('new version:', newVersion) exec(`git commit -a --amend --no-edit`) exec(`npm publish --access=public`) exec(`git push origin master`)