From c46ffa3d327350b174d414231af014faa253895b Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Sun, 29 Oct 2017 22:31:59 +0100 Subject: [PATCH] Basic Fastlane config for android on Google Play --- README.md | 7 +++++-- package.json | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c556d7..e96c0dd 100644 --- a/README.md +++ b/README.md @@ -33,10 +33,13 @@ DUSKEN_RELEASE_KEY_PASSWORD= # Build - yarn build-android + yarn build-android # Output is in android/app/build/outputs/apk - # Output is in android/app/build/outputs/apk + # Note: Make sure you have the file android/google_play.json + # Ref: https://docs.fastlane.tools/actions/supply/#setup + # Publish android build to the Google Play beta track + yarn release-android ## Libraries diff --git a/package.json b/package.json index f430643..875382d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest", "emulator": "emulator -avd $(emulator -list-avds | head)&", - "build-android": "cd android && ./gradlew assembleRelease" + "build-android": "cd android && ./gradlew assembleRelease", + "release-android": "cd android && fastlane beta" }, "dependencies": { "moment": "^2.19.1",