debug: attempting to fix git error
This commit is contained in:
parent
6161d61d9b
commit
647e48f01c
|
@ -62,12 +62,13 @@ const run = async () => {
|
||||||
console.log(newVersion)
|
console.log(newVersion)
|
||||||
run(`git commit -a --amend --no-edit`)
|
run(`git commit -a --amend --no-edit`)
|
||||||
|
|
||||||
|
run(`git fetch`)
|
||||||
run(`git branch tmp`)
|
run(`git branch tmp`)
|
||||||
run(`git checkout master`)
|
run(`git checkout master`)
|
||||||
run(`git merge tmp`)
|
run(`git merge tmp`)
|
||||||
|
|
||||||
run(`npm publish --access=public`)
|
run(`npm publish --access=public`)
|
||||||
run(`git push`)
|
run(`git push origin master`)
|
||||||
await git.addTag(newVersion)
|
await git.addTag(newVersion)
|
||||||
await git.pushTags('origin')
|
await git.pushTags('origin')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue