Alexandre Lision | db6c081 | 2016-11-02 10:47:28 -0400 | [diff] [blame^] | 1 | # Customise this file, documentation can be found here: |
| 2 | # https://github.com/fastlane/fastlane/tree/master/fastlane/docs |
| 3 | # All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md |
| 4 | # can also be listed using the `fastlane actions` command |
| 5 | |
| 6 | # Change the syntax highlighting to Ruby |
| 7 | # All lines starting with a # are ignored when running `fastlane` |
| 8 | |
| 9 | # If you want to automatically update fastlane if a new version is available: |
| 10 | # update_fastlane |
| 11 | |
| 12 | # This is the minimum version number required. |
| 13 | # Update this, if you use features of a newer version |
| 14 | fastlane_version "2.13.0" |
| 15 | |
| 16 | default_platform :android |
| 17 | |
| 18 | platform :android do |
| 19 | |
| 20 | desc "Submit a new Beta Build to the Play Store" |
| 21 | lane :beta do |options| |
| 22 | sign_apk( |
| 23 | apk_path: options[:apk_path], |
| 24 | signed_apk_path: options[:signed_apk_path], |
| 25 | keystore_path: options[:keystore_path], |
| 26 | alias: options[:keyalias], |
| 27 | storepass: options[:storepass], |
| 28 | keypass: options[:keypass] |
| 29 | ) |
| 30 | |
| 31 | zipalign( |
| 32 | apk_path: options[:signed_apk_path] |
| 33 | ) |
| 34 | |
| 35 | supply( |
| 36 | apk: options[:signed_apk_path], |
| 37 | track: "beta", |
| 38 | json_key: options[:json_key] |
| 39 | ) |
| 40 | end |
| 41 | |
| 42 | end |
| 43 | |