From b0b2b7f0f86d21f1157af691e3d640b495203e45 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 8 Sep 2020 11:17:14 -0300 Subject: [pos] prepare for play store upload --- merchant-terminal/fastlane/Fastfile | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 merchant-terminal/fastlane/Fastfile (limited to 'merchant-terminal/fastlane/Fastfile') diff --git a/merchant-terminal/fastlane/Fastfile b/merchant-terminal/fastlane/Fastfile new file mode 100644 index 0000000..2398c81 --- /dev/null +++ b/merchant-terminal/fastlane/Fastfile @@ -0,0 +1,42 @@ +# This file contains the fastlane.tools configuration +# You can find the documentation at https://docs.fastlane.tools +# +# For a list of all available actions, check out +# +# https://docs.fastlane.tools/actions +# +# For a list of all available plugins, check out +# +# https://docs.fastlane.tools/plugins/available-plugins +# + +# Uncomment the line if you want fastlane to automatically update itself +# update_fastlane + +opt_out_usage + +default_platform(:android) + +platform :android do + desc "Deploy a new version to the Google Play beta track" + lane :deploy do + gradle( + task: "bundle", + build_type: "Release", + gradle_path: '../gradlew', + properties: { + "android.injected.signing.store.file" => ENV["TALER_KEYSTORE_PATH"], + "android.injected.signing.store.password" => ENV["TALER_KEYSTORE_PASS"], + "android.injected.signing.key.alias" => ENV["TALER_KEYSTORE_POS_ALIAS"], + "android.injected.signing.key.password" => ENV["TALER_KEYSTORE_POS_PASS"], + } + ) + upload_to_play_store( + track: 'beta', + skip_upload_images: 'true', + skip_upload_screenshots: 'true', + skip_upload_apk: 'true', # This is an app bundle, so APK is not possible + validate_only: 'true' + ) + end +end -- cgit v1.2.3