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} `)
|
exec(`npm version --allow-same-version=true --git-tag-version=false ${current} `)
|
||||||
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
|
let newVersion = execSync(`npm version --git-tag-version=false ${version}`).toString()
|
||||||
console.log(newVersion)
|
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(`npm publish --access=public`)
|
||||||
// exec(`git push origin master`)
|
exec(`git push origin master`)
|
||||||
await git.addTag(newVersion)
|
await git.addTag(newVersion)
|
||||||
await git.pushTags('origin')
|
await git.pushTags('origin')
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "merge-release",
|
"name": "merge-release",
|
||||||
"version": "0.0.0-dev",
|
"version": "4.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "standard"
|
"test": "standard"
|
||||||
|
|
Loading…
Reference in New Issue