|
5 | 5 | The release process of new minor version consists of the following steps: |
6 | 6 |
|
7 | 7 | 1. Update version tags in `packages/react-native-executorch/src/constants/modelUrls.ts` to point to the proper `MINOR` version and update tags on [🤗 huggingface](https://huggingface.co/software-mansion). |
8 | | -2. Commit with a message 'Release v{MAJOR}.{MINOR}.0'. |
9 | | -3. Create a new release branch `release/{MAJOR}.{MINOR}` and push it to the remote. |
10 | | -4. Stability tests are performed on the release branch and all fixes to the new-found issues are pushed into the main branch and cherry-picked into the release branch. This allows for further development on the main branch without interfering with the release process. |
11 | | -5. Once all tests are passed, tag the release branch with proper version tag `v{MAJOR}.{MINOR}.0` and run the following publish workflows: |
| 8 | +2. Make sure unreleased models with tags `NEXT_VERSION_TAG` are updated to `VERSION_TAG`. |
| 9 | +3. Update version in `packages/react-native-executorch/src/constants/versions.ts`. |
| 10 | +4. Commit with a message 'Release v{MAJOR}.{MINOR}.0'. |
| 11 | +5. Create a new release branch `release/{MAJOR}.{MINOR}` and push it to the remote. |
| 12 | +6. Stability tests are performed on the release branch and all fixes to the new-found issues are pushed into the main branch and cherry-picked into the release branch. This allows for further development on the main branch without interfering with the release process. |
| 13 | +7. Once all tests are passed, tag the release branch with proper version tag `v{MAJOR}.{MINOR}.0` and run the following publish workflows: |
12 | 14 | - [npm publish (core)](https://github.com/software-mansion/react-native-executorch/actions/workflows/npm-publish.yml) |
13 | 15 | - [npm publish bare-resource-fetcher](https://github.com/software-mansion/react-native-executorch/actions/workflows/npm-publish-bare-resource-fetcher.yml) |
14 | 16 | - [npm publish expo-resource-fetcher](https://github.com/software-mansion/react-native-executorch/actions/workflows/npm-publish-expo-resource-fetcher.yml) |
15 | | -6. Create the release notes on GitHub. |
16 | | -7. Bump version in `package.json` on the `main` branch to `v{MAJOR}.{NEXT_MINOR}.0` for the core package and both adapter packages (`bare-resource-fetcher`, `expo-resource-fetcher`). Commit with a message 'Bump version to v{MAJOR}.{NEXT_MINOR}.0'. |
17 | | -8. Create versioned docs by running from repo root `(cd docs && yarn docs:version {MAJOR}.{MINOR}.x)` (the 'x' part is intentional and is not to be substituted). Also, make sure that all the links in `api-reference` are not broken. |
18 | | -9. Create a PR with the updated docs. |
19 | | -10. Update README.md with release video, if available. |
20 | | -11. Update README.md links to release branch. |
| 17 | +8. Create the release notes on GitHub. |
| 18 | +9. Bump version in `package.json` on the `main` branch to `v{MAJOR}.{NEXT_MINOR}.0` for the core package and both adapter packages (`bare-resource-fetcher`, `expo-resource-fetcher`). Commit with a message 'Bump version to v{MAJOR}.{NEXT_MINOR}.0'. |
| 19 | +10. Create versioned docs by running from repo root `(cd docs && yarn docs:version {MAJOR}.{MINOR}.x)` (the 'x' part is intentional and is not to be substituted). Also, make sure that all the links in `api-reference` are not broken. |
| 20 | +11. Create a PR with the updated docs. |
| 21 | +12. Update README.md with release video, if available. |
| 22 | +13. Update README.md links to release branch. |
21 | 23 |
|
22 | 24 | ## Patch release |
23 | 25 |
|
|
0 commit comments