fastlane-plugin-upload_dsym 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fd29bdd821b06a4ab0c431285fec448cca04eb4132086bf71a5e879771f9d29
|
4
|
+
data.tar.gz: ed5d251c01968d8abf35363cfd62b5848bfe0397b2df54089927fce096289391
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1242d7d7a82b1251e423e7a698e628a10215f080c4f795e00d565da839edbafd4f5d8bb4f633bfbc82386f27eb800bfeb54d53df105f69c45f21ccb4c454fa2f
|
7
|
+
data.tar.gz: 2920beaff2de1dd9671cfc71b60f229214d169ccb4b8102b2414d094afb0b2ee4864510a75400d6a0a21119454f701c9c3cb0b3a5876d60683de56f9f4c1e57a
|
@@ -17,9 +17,9 @@ module Fastlane
|
|
17
17
|
|
18
18
|
def self.upload_specity(params)
|
19
19
|
UI.message("[UploadDsymAction] [upload_specity] 🔵running ...... ")
|
20
|
-
host
|
20
|
+
host = params[:host]
|
21
21
|
dsym_zip_file = params[:dsym_zip_file]
|
22
|
-
kvs
|
22
|
+
kvs = params[:kvs]
|
23
23
|
|
24
24
|
UI.user_error!("❌host not pass") unless host
|
25
25
|
UI.user_error!("❌dsym_zip_file not pass") unless dsym_zip_file
|
@@ -74,10 +74,23 @@ module Fastlane
|
|
74
74
|
UI.important("[UploadDsymAction] [upload_bugly] version: #{version}")
|
75
75
|
UI.important("[UploadDsymAction] [upload_bugly] package: #{package}")
|
76
76
|
|
77
|
+
|
77
78
|
dsym_files.each do |df|
|
78
|
-
|
79
|
-
|
80
|
-
|
79
|
+
times = 3
|
80
|
+
tries = 1
|
81
|
+
begin
|
82
|
+
cmd = "java -jar #{buglytoolpath} -i #{df} -u -id #{buglyid} -key #{buglykey} -package #{package} -version #{version}"
|
83
|
+
Actions.sh(cmd)
|
84
|
+
rescue => ex
|
85
|
+
tries += 1
|
86
|
+
retry if tries <= times
|
87
|
+
|
88
|
+
UI.error("❌失败超过 #{times} 次:")
|
89
|
+
UI.error(ex.message)
|
90
|
+
UI.error(ex.inspect)
|
91
|
+
UI.error(ex.backtrace.join("\n"))
|
92
|
+
UI.user_error!("❌ force to crash!")
|
93
|
+
end
|
81
94
|
end
|
82
95
|
|
83
96
|
UI.success("[UploadDsymAction] [upload_bugly] 🎉success upload to upload_bugly")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-upload_dsym
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xiongzenghui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|