fix: checkout branch
This commit is contained in:
parent
da67840952
commit
82d5e53321
|
@ -52,7 +52,7 @@ const run = async () => {
|
||||||
|
|
||||||
const exec = str => process.stdout.write(execSync(str))
|
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()
|
let current = execSync(`npm view ${pkg.name} version`).toString()
|
||||||
exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `)
|
exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `)
|
||||||
|
|
Loading…
Reference in New Issue