chore: improve release scripts (#4933)
- use the latest git tag as the previous version - restore/bump the version on master in `bump-prettier.js` - use `stdio: "inherit"` for `npm publish` so that we could input the OTP - do not use `--runInBand` for local `test:dist` - remove `Updating integration snapshots` - remove `Attach all files in dist/ folder`
This commit is contained in:
7 files changed
+57
-26
No files matched your search
@@ -2,8 +2,10 @@
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
./scripts/release/release.js --version NEW_VERSION
|
||||
```sh
|
||||
# set environment variable GITHUB_API_TOKEN if it's a patch release
|
||||
# since we need to get merged PRs from GitHub to generate changelog
|
||||
node ./scripts/release/release.js --version NEW_VERSION
|
||||
```
|
||||
|
||||
The script its own `package.json` so we can reinstall the root's `node_modules/` while making the release.
|
||||
|
||||
Reference in new issue
Block a user