Skip to content

Commit

Permalink
Fix versions for 73 and 74 (#938)
Browse files Browse the repository at this point in the history
## Description
Fixes version for 0.73 and 0,74. Also added a clear note in the
instructions for next time! :)

closes microsoft/react-native-windows#13201
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-windows-samples/pull/938)
  • Loading branch information
TatianaKapos committed May 17, 2024
1 parent b4fe595 commit 476ce40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Complete the documentation updates for both main and stable version 0.XX above.

## Cutting Documentation for a New React Native Windows Release
1. Update necessary version references in [docs](../docs/).
1. `getting-started.md`
1. [`getting-started.md`](https://github.com/microsoft/react-native-windows-samples/blob/main/docs/getting-started.md) - make sure to update from "nightly" to "latest" and change the previous stable version from "latest" to "0.XX-stable" in react-native init.
1. Follow the [Integration into the react-native-windows-samples-repo](https://github.com/microsoft/react-native-windows/wiki/API-documentation#integration-into-the-react-native-windows-samples-repo) steps to add the latest API documentation.
1. If `win10-compat.md` has changed since the last version cut, copy contents of `docs/win10-compat.md`:
1. The oldest version of `win10-compat.md` in versioned_docs should be replaced with the one from `docs`. Make sure to adjust the page id to match the older version.
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.73/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Remember to call `react-native init` from the place you want your project direct
<!-- See https://www.npmjs.com/package/react-native?activeTab=versions for the RN version tags. -->

```bat
npx --yes react-native@latest init <projectName> --version "latest"
npx --yes react-native@0.73-stable init <projectName> --version "0.73-stable"
```

### Navigate into this newly created directory
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.74/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Remember to call `react-native init` from the place you want your project direct
<!-- See https://www.npmjs.com/package/react-native?activeTab=versions for the RN version tags. -->

```bat
npx --yes react-native@nightly init <projectName> --version "nightly"
npx --yes react-native@latest init <projectName> --version "latest"
```

### Navigate into this newly created directory
Expand Down

0 comments on commit 476ce40

Please sign in to comment.