Files
test-repo/scripts/release/README.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
1.1 KiB
Markdown
Raw Normal View History

2018-06-05 16:37:52 -03:00
# Release script
## Usage
2018-08-08 23:49:22 +08:00
```sh
node ./scripts/release/release.js --version NEW_VERSION
2018-06-05 16:37:52 -03:00
```
2020-03-21 18:48:04 +02:00
The script has its own `package.json` so we can reinstall the root's `node_modules/` while making the release.
2018-06-05 16:37:52 -03:00
2022-10-14 17:17:47 +08:00
## Flags
2023-12-17 22:51:37 +09:00
| 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 |
2022-10-14 17:17:47 +08:00
2018-06-05 16:37:52 -03:00
## Credits
This script was inspired by [React's release script](https://github.com/facebook/react/tree/001f9ef/scripts/release).