fastlane-plugin-upload_dsym_to_bugly 2.0.0 → 2.0.1
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: 4b688fde25af37f186763b15245e410a3334265fba920193bbb4d30ec368cba2
|
4
|
+
data.tar.gz: f986bb43300e8c476a9da3bffa08fa6de4879c8abf9df3a390ec8159c2e6046b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f411f834fee0cabd1958edac2ceb580faba48a75916cf5ffdb635ca1ceb6af6f5299876f56a28ac8b696fa0034296a1729ebc2c5fa88604d5d231fe9a264fab
|
7
|
+
data.tar.gz: e21ec9bf95eed1d556a34a44ef9d4c0e9b0610069505c423fcda3468440e1140ae5bde47356fa10b118f2d80c13c4c4d7eab1ed146f995891113a005c4526364
|
data/README.md
CHANGED
@@ -7,7 +7,11 @@
|
|
7
7
|
2021 年 6 月 28 日 开始,bugly 不再支持使用 openApi 的方式上传符号表,需要使用官方提供的命令行上传工具进行上传。
|
8
8
|
本插件当前使用的工具版本为:__3.3.4__
|
9
9
|
|
10
|
-
|
10
|
+
另
|
11
|
+
- upload_dsym_to_bugly action 的方法参数有变化,请注意。请参照 Getting Start 部分
|
12
|
+
- 去除了上传 ipa 到 bugly 的 action。
|
13
|
+
|
14
|
+
|
11
15
|
|
12
16
|
## Getting Started
|
13
17
|
|
@@ -24,19 +24,19 @@ module Fastlane
|
|
24
24
|
end
|
25
25
|
|
26
26
|
if !Dir.glob(file_path).empty?
|
27
|
-
sh("unzip -o #{file_path} -d #{unzip_path}")
|
27
|
+
sh("unzip -o \"#{file_path}\" -d \"#{unzip_path}\"")
|
28
28
|
else
|
29
29
|
UI.message "dSYM zip File don't exist"
|
30
30
|
Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = false
|
31
31
|
raise if params[:raise_if_error]
|
32
32
|
end
|
33
|
-
cmd = "java -jar #{jar_path} -appid #{params[:app_id]} -appkey #{params[:app_key]} -bundleid #{params[:bundle_id]} -version #{params[:version]} -platform #{params[:platform]} -inputSymbol #{unzip_path}"
|
33
|
+
cmd = "java -jar \"#{jar_path}\" -appid \"#{params[:app_id]}\" -appkey \"#{params[:app_key]}\" -bundleid \"#{params[:bundle_id]}\" -version \"#{params[:version]}\" -platform \"#{params[:platform]}\" -inputSymbol \"#{unzip_path}\""
|
34
34
|
|
35
35
|
log_file = "dSYM_upload_result.log"
|
36
36
|
|
37
37
|
begin
|
38
38
|
sh("#{cmd} > #{log_file}")
|
39
|
-
last_line = sh("tail -n 1 #{log_file}")
|
39
|
+
last_line = sh("tail -n 1 \"#{log_file}\"")
|
40
40
|
|
41
41
|
success = last_line.include?("retCode: 200") and last_line.include?("\"msg\":\"success\"")
|
42
42
|
if success
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-upload_dsym_to_bugly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- liubo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|