prettier/scripts/release
Ika 8973caf4bb
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`
2018-08-08 23:49:22 +08:00
..
steps chore: improve release scripts (#4933) 2018-08-08 23:49:22 +08:00
README.md chore: improve release scripts (#4933) 2018-08-08 23:49:22 +08:00
package.json [Release script] Use `execa` 2018-06-05 19:10:27 -03:00
release.js chore: improve release scripts (#4933) 2018-08-08 23:49:22 +08:00
utils.js chore(ISSUE_TEMPLATE): add template for integration issue (#4722) 2018-06-22 12:37:52 +08:00
yarn.lock [Release script] Use `execa` 2018-06-05 19:10:27 -03:00

README.md

Release script

Usage

# 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.

Credits

This script was inspired by React's release script.