Files
test-repo/scripts/release
dependabot[bot] 0add226235 Bump braces from 3.0.2 to 3.0.3 in /scripts/release (#16363)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 09:23:58 +08:00
..
2024-06-05 17:05:46 +08:00
2024-06-05 17:24:27 +08:00
2024-01-22 00:02:31 +08: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.

Flags

Flag Description
--manual Manual run release process instead of publish from GitHub actions
--dry Dry run
--skip-dependencies-install Skip dependencies installation
--next Pre-release such as alpha and beta. It must be run on the next branch or it will fail

Credits

This script was inspired by React's release script.