From f471be7380c62a291b58b704a34a2fd48cd750d7 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Mon, 18 Jan 2016 20:41:11 +0000 Subject: [PATCH] Update Releases-publish.md --- Releases-publish.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Releases-publish.md b/Releases-publish.md index 7aad264e0..07aec7a77 100644 --- a/Releases-publish.md +++ b/Releases-publish.md @@ -1,3 +1,7 @@ +## Ideas for improvements + +We could simplify the process quite a bit by publishing the Android binaries to npm. This will increase the size of the npm package by about 3.3MB. To do that: after `installArchives`, move the binaries to somewhere where `npm publish` will pick them up. Then, change the `build.gradle` file(s) of your generated app so that Gradle will pick up the binaries from `node_modules`. This will likely also **fix issues with incompatible versions of JS and Android binaries** (e.g. [#4488](https://github.com/facebook/react-native/issues/4488)). + ## Publish a release (same steps for an rc version, 0.x.0) Publish to Maven Central (Note: **We could get rid of this whole section by publishing binaries to npm instead**): @@ -29,4 +33,4 @@ npm publish ``` - Upgrade tags to a release by going to https://github.com/facebook/react-native/tags - Click "Add Notes to release" -- Click Publish \ No newline at end of file +- Click Publish