diff --git a/circle.yml b/circle.yml index 30a1e3db6..c33f05057 100644 --- a/circle.yml +++ b/circle.yml @@ -22,7 +22,10 @@ dependencies: # The Android Gradle build will need the Android signing keystore keys setup - mkdir -p ~/.gradle # Install node modules - - yarn install + - yarn + - ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ + - cd android && ./gradlew assembleRelease + - mv ./android/app/build/outputs/ $CIRCLE_ARTIFACTS cache_directories: # Let's speed up the next build by cacheing installed dependencies - ~/.yarn @@ -30,12 +33,3 @@ dependencies: - vendor/bundle - node_modules - ~/Library/Caches/CocoaPods - -deployment: - beta: - branch: qa - commands: - - yarn - - ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ - - cd android && ./gradlew assembleRelease - - mv ./android/app/build/outputs/ $CIRCLE_ARTIFACTS