fix: disabling push
This commit is contained in:
parent
a1033ac280
commit
d3484b7b43
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue