Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions packages/react-native-reanimated/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ Reanimated follows [semver](https://semver.org/) whenever applicable.
---
9. When releasing a minor version, update the minimal supported React Native version:

- Android: `build.gradle`
- iOS: `reanimated_utils.rb`
- update `compatibility.json` - it is used by both `reanimated_utils.rb` on iOS and `build.gradle` on Android
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also add that it is used to generate compatibility tables in the docs as well?

- By default we support the last three minor versions

10. Testing:
Expand Down Expand Up @@ -113,14 +112,11 @@ Reanimated follows [semver](https://semver.org/) whenever applicable.
19. Test the package in a clean React Native Web app:

- `npx create-expo-app my-app`
- Set up using **Getting Started** tutorial from [Expo Docs](https://docs.expo.dev/workflow/web/),
- `npx expo install react-dom react-native-web @expo/metro-runtime` (set up using **Getting Started** tutorial from [Expo Docs](https://docs.expo.dev/workflow/web/)),
- `yarn add ~/Downloads/react-native-reanimated-x.y.z.tgz`
- If you don't have `babel.config.js`, create it using [this instruction](https://docs.expo.dev/versions/latest/config/babel/),
- Add `plugins: ['react-native-worklets/plugin']` in `babel.config.js` - as in our [Getting started](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started/) guide,
- Copy [Bokeh Example](https://github.com/software-mansion/react-native-reanimated/blob/main/apps/common-app/src/apps/reanimated/examples/BokehExample.tsx) to `App.tsx` - when using **expo-router** find and copy to `index.tsx`,
- Copy [Bokeh Example](https://github.com/software-mansion/react-native-reanimated/blob/main/apps/common-app/src/apps/reanimated/examples/BokehExample.tsx) to `app/_layout.tsx`,
- Run dev: `npx expo start --web`,
- Run release: `npx expo export -p web && npx serve dist --single`.
- Run prebuild: `npx expo prebuild` to generate native code and ensure the app works correctly.

20. If something doesn't work you can fix it in this or in a separate PR (depending on the case), and repeat the steps.
21. If everything works fine you can merge the PR.
Expand Down Expand Up @@ -170,4 +166,4 @@ Reanimated follows [semver](https://semver.org/) whenever applicable.
26. Share the good news with the team.
27. Ask Kacper Kapuściak for a tweet informing the world about new Reanimated (patches don't count).

**Congratulations on releasing a new version of Reanimated!**
**Congratulations on releasing a new version of Reanimated!**