Skip to content

Commit

Permalink
attempt 1 (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored May 24, 2019
1 parent cceaa14 commit e4490dc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4490dc

Please sign in to comment.