-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFastfile
45 lines (43 loc) · 1.34 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
45
# before_all do
# ensure_git_branch(branch: 'main')
# git_pull
# end
lane :android do
creator_build_android(
project_path: "fastlane/example",
sign_key_path: "/Users/enfipy/Desktop/creator_explorer.jks",
sign_key_pass: "123456",
build_envs: "RUSTFLAGS='-L/opt/homebrew/lib/gcc/11/gcc/aarch64-apple-darwin20/11.1.0'" # only for the M1 Macbooks
)
validate_play_store_json_key(
json_key: "~/Desktop/pc-api-6211333603859992930-229-b7b733663878.json"
)
upload_to_play_store(
package_name: "com.enfipy.creator_explorer",
apk: "fastlane/example/target/android/release/Creator Explorer.apk",
json_key: "~/Desktop/pc-api-6211333603859992930-229-b7b733663878.json",
release_status: "draft",
track: "internal"
)
end
lane :ios do
get_certificates(
username: "enfipy@gmail.com"
)
get_provisioning_profile(
username: "enfipy@gmail.com",
app_identifier: "com.enfipy.explorer"
)
creator_build_ios(
project_path: "fastlane/example",
profile_path: "../../AppStore_com.enfipy.explorer.mobileprovision",
team_id: "V4SUV789T7",
identity: "AB50EE3454AAE27E6BC821103DA3D998C048F9E8"
)
upload_to_testflight(
username: "enfipy@gmail.com",
app_identifier: "com.enfipy.explorer",
apple_id: "1571696903",
ipa: "fastlane/example/target/apple/aarch64-apple-ios/release/explorer.ipa"
)
end