-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFastfile
44 lines (35 loc) · 1.36 KB
/
Fastfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Customize this file, documentation can be found here:
# https://docs.fastlane.tools/actions/
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command
# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`
# If you want to automatically update fastlane if a new version is available:
# update_fastlane
# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.69.3"
# Opt out of sending metrics and crash reports
opt_out_usage
opt_out_crash_reporting
default_platform :android
platform :android do
desc "Deploy a new version to the Google Play"
lane :deploy do
upload_to_play_store(
track: 'production',
apk: "$HOME/apks_to_deploy/openhab-android.apk"
)
end
desc "Deploy a new beta version to the Google Play"
lane :betaDeploy do
upload_to_play_store(
track: 'beta',
apk: "$HOME/apks_to_deploy/openhab-android.apk"
)
end
end
# More information about multiple platforms in fastlane: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
# All available actions: https://docs.fastlane.tools/actions
# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://docs.fastlane.tools/#metrics