taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

Fastfile (1539B)


      1 # This file contains the fastlane.tools configuration
      2 # You can find the documentation at https://docs.fastlane.tools
      3 #
      4 # For a list of all available actions, check out
      5 #
      6 #     https://docs.fastlane.tools/actions
      7 #
      8 # For a list of all available plugins, check out
      9 #
     10 #     https://docs.fastlane.tools/plugins/available-plugins
     11 #
     12 
     13 # Uncomment the line if you want fastlane to automatically update itself
     14 # update_fastlane
     15 
     16 opt_out_usage
     17 
     18 default_platform(:android)
     19 
     20 platform :android do
     21   desc "Runs all the tests"
     22   lane :test do
     23     gradle(task: "test", gradle_path: '../gradlew')
     24   end
     25 
     26   desc "Deploy a new version to the Google Play beta track"
     27   lane :deploy do
     28     gradle(
     29         task: "bundle",
     30         build_type: "Release",
     31         flavor: "google",
     32         gradle_path: '../gradlew',
     33         print_command: false,
     34         flags: "--no-build-cache --no-configuration-cache",
     35         properties: {
     36             "android.injected.signing.store.file" => ENV["TALER_KEYSTORE_PATH"],
     37             "android.injected.signing.store.password" => ENV["TALER_KEYSTORE_PASS"],
     38             "android.injected.signing.key.alias" => ENV["TALER_KEYSTORE_WALLET_ALIAS"],
     39             "android.injected.signing.key.password" => ENV["TALER_KEYSTORE_WALLET_PASS"],
     40         }
     41     )
     42     upload_to_play_store(
     43         track: 'beta',
     44         skip_upload_images: 'true',
     45         skip_upload_screenshots: 'false',
     46         skip_upload_apk: 'true', # This is an app bundle, so APK is not possible
     47         validate_only: 'false'
     48     )
     49   end
     50 end
     51 
     52 # vi:syntax=ruby