diff --git a/.gitignore b/.gitignore index 0fbe131..ea0e683 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,7 @@ freeline/ freeline_project_description.json # fastlane +.env* fastlane/report.xml fastlane/Preview.html fastlane/screenshots diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 19c557c..2b97768 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -32,7 +32,15 @@ platform :android do desc "Deploy a new version to the Google Play" lane :deploy do - gradle(task: "clean assembleRelease") + gradle( + task: "clean bundleRelease", + properties: { + "android.injected.signing.store.file" => ENV["KEYSTORE_PATH"], + "android.injected.signing.store.password" => ENV["KEYSTORE_PASSWORD"], + "android.injected.signing.key.alias" => ENV["KEY_ALIAS"], + "android.injected.signing.key.password" => ENV["KEY_PASSWORD"], + } + ) upload_to_play_store end end