-
Notifications
You must be signed in to change notification settings - Fork 0
/
Fastfile
42 lines (38 loc) · 1.22 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
# 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
default_platform(:android)
platform :android do
desc "Deploy a new version to Google Play"
lane :deploy do |options|
gradle(
task: "bundle",
build_type: "release",
print_command: false,
properties: {
"android.injected.signing.store.file" => ENV["STORE_FILE"],
"android.injected.signing.store.password" => ENV["STORE_PASSWORD"],
"android.injected.signing.key.alias" => ENV["KEY_ALIAS"],
"android.injected.signing.key.password" => ENV["KEY_PASSWORD"]
}
)
upload_to_play_store(
json_key: ENV["ANDROID_JSON_KEY_FILE"],
track: "internal",
changes_not_sent_for_review: true,
release_status: "completed",
sync_image_upload: true,
validate_only: options[:dry_run]
)
end
end