Files
test-repo/scripts/release
renovate[bot] f7a1bcfe33 Update dependency semver to v7.7.4 (#18857)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-06 11:23:52 +08:00
..
2026-01-15 08:10:20 +08:00
2025-12-01 07:25:25 +08:00
2026-01-15 08:08:04 +08:00
2025-12-01 07:25:25 +08:00

Release script

Usage

node ./scripts/release/release.js

The script has its own package.json so we can reinstall the root's node_modules/ while making the release.

Flags

Flag Description
--version Version to release
--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.