From e4490dcdd8cf1d6cea82a9cfab52771ed1da2e82 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Fri, 24 May 2019 02:33:16 -0400 Subject: [PATCH] attempt 1 (#665) --- scripts/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 1bfd60d9712..bdee072cce3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -174,8 +174,11 @@ buildAndroidRelease(){ echo $ANDROID_KEYSTORE | base64 --decode > android/keystores/release.keystore fi + npm i react-native-cli --save-dev + node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res + cd android && - ./gradlew assembleRelease + ./gradlew assembleRelease -x bundleReleaseJsAndAssets if [ "$PRE_RELEASE" = true ] ; then # Generate sourcemaps