build: automate release step fully (#5414)

* build: automate release step fully

* exit process when error

* Add npm scripts for release and prerelease

* update docs with release setps
This commit is contained in:
Aakansha Doshi 2022-07-06 15:20:52 +05:30 committed by GitHub
parent 76a5bb060e
commit 11a3380d83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 29 deletions

View file

@ -113,6 +113,8 @@
"test:typecheck": "tsc",
"test:update": "yarn test:app --updateSnapshot --watchAll=false",
"test": "yarn test:app",
"autorelease": "node scripts/autorelease.js"
"autorelease": "node scripts/autorelease.js",
"prerelease": "node scripts/prerelease.js",
"release": "node scripts/release.js"
}
}