-
Notifications
You must be signed in to change notification settings - Fork 1
/
Fastfile
76 lines (67 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
lane :version_check do
zealot_version_check(
endpoint: 'http://localhost:3000',
token: '...',
channel_key: '...',
bundle_id: '...',
git_commit: last_git_commit[:commit_hash]
)
end
lane :sync_devices do
zealot_sync_devices(
endpoint: 'http://localhost:3000',
token: '...',
username: '...',
team_id: '...'
)
end
lane :upload_app do
zealot(
endpoint: 'http://localhost:3000',
token: '...',
channel_key: '...',
file: 'app.apk'
)
end
lane :upload_debug_file do
# 上传 iOS dSYM 调试文件
zealot_debug_file(
endpoint: 'http://localhost:3000',
token: '...',
channel_key: '...',
platform: :ios,
xcode_scheme: 'AppName',
verify_ssl: false
)
# 上传 Android Proguard 调试文件
zealot_debug_file(
endpoint: 'http://localhost:3000',
token: '...',
channel_key: '...',
platform: :android,
android_build_type: 'release',
android_flavor: 'store',
release_version: '1.1.0',
build_version: '1',
overwrite: true
)
# 上传指定 zip file 调试文件
zealot_debug_file(
endpoint: 'http://localhost:3000',
token: '...',
channel_key: '...',
zip_file: 'path/to/your/zip_file',
release_version: '1.1.0',
build_version: '1',
verify_ssl: false
)
end
lane :sync do
zealot_sync_devices(
endpoint: 'http://localhost:3000',
token: '...',
username: 'apple_developer_email'
)
end
lane :test_update do
end