Back to Prettier

Release script

scripts/release/README.md

3.8.31.2 KB
Original Source

Release script

Usage

sh
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

FlagDescription
--versionVersion to release
--manualManual run release process instead of publish from GitHub actions
--dryDry run
--skip-dependencies-installSkip dependencies installation
--nextPre-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.