Files
test-repo/scripts/release
Sosuke Suzuki bf2a24fdd1 Add tests for release script (#11454)
* Install jest

* Configure jest script

* Fix eslintrc

* Add @types/jest

* Add test for validate-new-version

* Fix eslintrc

* Add workflow file

* Add node version

* cd to script/release

* Fix workflow file

* Fix version

* Ignore from root

* Update yarn.lock

* Set defaults.run.working-directory
2021-09-07 14:53:45 +09:00
..
2020-03-21 21:02:18 +02:00

Release script

Usage

node ./scripts/release/release.js --version NEW_VERSION

The script has 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.