Skip to content

Commit 07ccad7

Browse files
authored
Update prerelease publishing instructions
1 parent 3e7391d commit 07ccad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ By default git would use `CRLF` line endings which would cause the scripts to fa
156156
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.
157157
10. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
158158

159-
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`.
159+
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`.
160160

161161
## Releasing the Docs
162162

0 commit comments

Comments
 (0)