fix: disabling push

This commit is contained in:
Mikeal Rogers 2019-09-10 00:40:14 +00:00
parent a1033ac280
commit d3484b7b43
1 changed files with 3 additions and 2 deletions

View File

@ -56,9 +56,10 @@ const run = async () => {
exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `)
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
console.log(newVersion)
exec(`git commit -a --amend --no-edit`)
//exec(`git commit -a --amend --no-edit`)
exec(`git checkout package.json`)
exec(`npm publish --access=public`)
exec(`git push origin master`)
// exec(`git push origin master`)
await git.addTag(newVersion)
await git.pushTags('origin')
}