debug: more printing

This commit is contained in:
Mikeal Rogers 2019-09-10 01:53:52 +00:00
parent 45ba07ff9b
commit 9dccc0180c
1 changed files with 2 additions and 1 deletions

View File

@ -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`)