Skip to content

Commit 73a8f0f

Browse files
authored
Merge pull request facebook#27 from Expensify/Rory-AddBackDeployInstructions
Add deploy instructions back to README
2 parents f204f5d + f208b6b commit 73a8f0f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Expensify Release
2+
3+
To release this fork to npm there are a couple manual steps needed.
4+
5+
If updating the base react-native version of the fork:
6+
7+
1. Update the `version` variable on line 15 in `sdks/hermes-engine/hermes-engine.podspec` with the version of react-native the fork is based on. For example `version = '0.69.3'`.
8+
2. Download hermesc from the version of react-native the fork is based on. This can be done by opening the url `https://registry.npmjs.com/react-native/-/react-native-<version>.tgz`. For example `https://registry.npmjs.com/react-native/-/react-native-0.69.3.tgz`. Then copy `sdks/hermesc` to the same directory inside your react-native repository.
9+
3. Commit the updated files.
10+
11+
Build and publish the fork:
12+
13+
1. Clean previous build if there is one in `android` folder with `rm -rf android`.
14+
2. Run `node scripts/set-rn-version.js --to-version <version>` where version is the version of the **fork** that is being published, note that this might be different that the version the fork is based on we used previously. For example `node scripts/set-rn-version.js --to-version 0.69.4`.
15+
3. Run `CIRCLE_TAG=<version> node ./scripts/publish-npm.js` where version is the same as the one in the previous step. For example `CIRCLE_TAG=0.69.4 node ./scripts/publish-npm.js`.
16+
117
<h1 align="center">
218
<a href="https://reactnative.dev/">
319
React Native

0 commit comments

Comments
 (0)