Skip to content

Commit 888502e

Browse files
authored
update yarn corepack instructions + add an example for how to cut a new version (#4726)
* update yarn corepack instructions + add an example for how to cut a new version * added a new line in the instructions
1 parent bcb7f6f commit 888502e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ If you are looking for the source code of the [React Native Archive website](htt
3131
3232
1. Run `yarn` to install the website's workspace dependencies.
3333

34+
> If you want to retain the globally instaled `yarn` v1, you can use `corepack yarn` instead.
35+
3436
### Running locally
3537

3638
1. Run `yarn start` to start the development server _(powered by [Docusaurus](https://docusaurus.io))_.
@@ -126,7 +128,8 @@ This can be done by updating the `package.json` and configuration files in `scri
126128

127129
1. `cd react-native-website` to go into the project root.
128130
1. `cd website` to go into the website portion of the project.
129-
1. Run `yarn version:cut <newVersion>` where `<newVersion>` is the new version being released.
131+
1. Run `yarn version:cut <newVersion>` where `<newVersion>` is the new version being released (e.g. `0.81`).
132+
1. Open a PR and commit this change as "Cut branch <newVersion>"
130133

131134
## 🔧 Website configuration
132135

0 commit comments

Comments
 (0)