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: 65de6ddc5662f5007981a2d2278f2b76202c31f02cc81fbecc63fdad691342fa
4
- data.tar.gz: 4aacea3dc9ec749c160b0f507d5f2c34e271477e89a22456c408141ab7826693
3
+ metadata.gz: 4b688fde25af37f186763b15245e410a3334265fba920193bbb4d30ec368cba2
4
+ data.tar.gz: f986bb43300e8c476a9da3bffa08fa6de4879c8abf9df3a390ec8159c2e6046b
5
5
  SHA512:
6
- metadata.gz: d4668daecd5ad5bd67bf87a4de8b50153beb44b59a85ac4cacd8453ce3d1d866ede2b123fec4be62daf4d2ebd5df68d17ba74c4daa44e87f74472433ddd5145c
7
- data.tar.gz: c07121b824e52773f0b74e863dee3df2b1a026743296c948d07e59653028506b121d17a85a0c86766a3a303d8194519040cab5075f4f505deb3c73fa99b0e7a9
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
- 另外去除了上传 ipa 到 bugly 的 action。
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UploadDsymToBugly
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
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.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-06-30 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry