mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-30 02:15:52 +08:00
Update prerelease publishing instructions
This commit is contained in:
@@ -156,7 +156,7 @@ By default git would use `CRLF` line endings which would cause the scripts to fa
|
||||
9. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
|
||||
10. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
|
||||
|
||||
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --canary=next --exact --cd-version <major|minor|patch> --npm-tag=next` instead of `npm run publish`.
|
||||
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --canary --exact --preid next --dist-tag=next --force-publish=* minor` instead of `npm run publish`.
|
||||
|
||||
## Releasing the Docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user