Skip to content
This repository has been archived by the owner on Nov 1, 2019. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 1.16 KB

README_MAINTAINERS.md

File metadata and controls

27 lines (19 loc) · 1.16 KB

Instructions for diff generation on new release

(assuming you have push permissions)

When a new release of react-native is out on npm, do the following:

  • Clone the repo, or pull the latest master if you have it already cloned.

  • Run git config diff.nodiff.command true.

This is a setting that, in combination with the .gitattributes file, tells the scripts to not pay attention to some files that don't need to be in the diffs, like the root .gitignore of this repo (not the RnDiffApp project).

  • Execute the main script.
./new-release.sh <new-release>

So for example, if the new release is 0.79.2, just run:

./new-release.sh 0.79.2

Extra credit

  • Checkout old/master and pull.
  • Run ./new-version.sh <new-release>.

This is because we still maintain the old way of rn-diff, for people with the old version of react-native-cli. So if you do the extra credits, first of all you are a good person. Second, remember to tell aaaaall your friends, to uninstall react-native-cli and install the latest @react-native-community/cli.

Thanks for helping to make purge more complete :D