feat: Add tag to github repo for the commit used for the npm release
This commit is contained in:
parent
a85a535486
commit
5213521185
|
@ -52,5 +52,7 @@ const run = async () => {
|
||||||
console.log(newVersion)
|
console.log(newVersion)
|
||||||
process.stdout.write(execSync(`npm publish --access=public`))
|
process.stdout.write(execSync(`npm publish --access=public`))
|
||||||
process.stdout.write(execSync(`git checkout package.json`))
|
process.stdout.write(execSync(`git checkout package.json`))
|
||||||
|
await git.addTag(newVersion)
|
||||||
|
await git.pushTags('origin')
|
||||||
}
|
}
|
||||||
run()
|
run()
|
||||||
|
|
Loading…
Reference in New Issue