debug: attempting to fix tag pushes

This commit is contained in:
Mikeal Rogers 2019-09-10 00:56:08 +00:00
parent 0459ae9c7a
commit 45ba07ff9b
2 changed files with 3 additions and 4 deletions

View File

@ -56,10 +56,9 @@ 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 checkout package.json`)
exec(`git commit -a --amend --no-edit`)
exec(`npm publish --access=public`)
// exec(`git push origin master`)
exec(`git push origin master`)
await git.addTag(newVersion)
await git.pushTags('origin')
}

View File

@ -1,6 +1,6 @@
{
"name": "merge-release",
"version": "0.0.0-dev",
"version": "4.0.0",
"description": "",
"scripts": {
"test": "standard"