debug: attempting to fix tag pushes
This commit is contained in:
parent
0459ae9c7a
commit
45ba07ff9b
|
@ -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')
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "merge-release",
|
||||
"version": "0.0.0-dev",
|
||||
"version": "4.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"test": "standard"
|
||||
|
|
Loading…
Reference in New Issue