-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathFastfile
39 lines (31 loc) · 880 Bytes
/
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
before_all do |lane, options|
ENV['CLIENT'] = options[:client]
ENV['ENV'] = options[:env]
end
lane :select_client do |options|
client = fiv_select_client
puts("This client is selected #{client}")
end
lane :select_clients do |options|
clients = fiv_select_clients
puts("These clients are selected #{clients}")
end
lane :select_client_env do |options|
client = fiv_select_client
env = fiv_select_env(client: client)
puts("This client #{client} and environment #{env} is selected")
end
lane :sign_android_apk do |options|
# run ionic cordova build android --prod --release
apk_path =
fiv_sign_android(
keystore_name: 'pizza',
key_alias: 'pizza',
app_version: '1.0.1',
app_build_no: '2020',
apk_signed_target: './apk'
)
end
lane :version do |options|
fiv_version(ios: true, pathToConfigXML: './../config.xml')
end