fix: checkout branch

This commit is contained in:
Mikeal Rogers 2019-09-10 02:15:11 +00:00
parent da67840952
commit 82d5e53321
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const run = async () => {
const exec = str => process.stdout.write(execSync(str))
exec(`git branch tmp`)
exec(`git checkout -b tmp`)
let current = execSync(`npm view ${pkg.name} version`).toString()
exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `)