Created
October 2, 2017 20:26
-
-
Save obliviusm/34a19f91c0a5e7a0828514e3d5d095c3 to your computer and use it in GitHub Desktop.
android/fastlane/Fastfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Submit a new Beta Build to Crashlytics Beta" | |
lane :beta do | |
# need to use `react-native bundle` instead of bundleReleaseJsAndAssets from grdale | |
# because it causes 134 error (out of memory) on Circle CI | |
sh "cd ../.. && 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/" | |
gradle( | |
task: "assembleRelease", | |
flags: "-x bundleReleaseJsAndAssets" | |
) | |
crashlytics( | |
api_token: ENV['CRASHLYTICS_API_TOKEN'], | |
build_secret: ENV['CRASHLYTICS_BUILD_SECRET'], | |
groups: 'main' | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment