feat: Add tag to github repo for the commit used for the npm release

This commit is contained in:
Fadee kannah 2019-09-05 21:54:08 -07:00
parent a85a535486
commit 5213521185
1 changed files with 2 additions and 0 deletions

View File

@ -52,5 +52,7 @@ const run = async () => {
console.log(newVersion)
process.stdout.write(execSync(`npm publish --access=public`))
process.stdout.write(execSync(`git checkout package.json`))
await git.addTag(newVersion)
await git.pushTags('origin')
}
run()