fastlane-plugin-upload_dsym_to_bugly 2.1.0 → 2.2.0

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: cddfdc1f35e8ad90b1efbccd243c89783cd9884caed380f7a8ef684b9f0a3932
4
- data.tar.gz: 00e8d6921899d9f71580ffea34b780f976da1664904cefe575c8a5ba4a1e5c0a
3
+ metadata.gz: 56b6c1ae16243dc8d62132b246f37f3e83c328894dadbbd0e807051b40dcc536
4
+ data.tar.gz: 6bbdce12bca8794a7d4c6db7173a945473fb7b95ae3d84e9860cb288da0da70e
5
5
  SHA512:
6
- metadata.gz: f59a362195d3b9a938e9e915f3afb8e90c8f4cbe0c1c3b6b018a89ec8c7d6b29e6d9e8122374c8846a13c74cf9ca62735761847b4ea8674f7800d1cb6108c0a7
7
- data.tar.gz: ea2e7b25a331c685313bd25db9ed502ce490f46ab64ea7fcd05e589159e4f1651b936c3eb4e12e562cd9f742dd202e5536d775fe8179e0eaded4bc0e3de1095c
6
+ metadata.gz: feda282ea6961d845cc7c9315169431a7e44179ceb9f7e18a4c4af1eaba39fbd810489e9cc724e1e95fe05fdb6490571d6c497810725e3da64766fc6080d2ea2
7
+ data.tar.gz: ad01ca189463cdc7a7ba8e885a71227df28afeaba8d0789da3fd224afa75132ff7bbf35b90605ebea3df4213f70cfba99e146bb87fb32f1aec911332052c0366
@@ -10,7 +10,7 @@ module Fastlane
10
10
  class UploadDsymToBuglyAction < Action
11
11
  def self.run(params)
12
12
 
13
- jar_path = File.expand_path('../../jars/buglyqq-upload-symbol-3.3.4.jar', __FILE__)
13
+ jar_path = File.expand_path('../../jars/buglyqq-upload-symbol.jar', __FILE__)
14
14
  UI.message "jar path: #{jar_path}"
15
15
 
16
16
  file_path = File.expand_path("#{params[:file_path]}")
@@ -38,14 +38,14 @@ module Fastlane
38
38
 
39
39
  begin
40
40
  sh("#{cmd} > #{log_file}")
41
- last_line = sh("tail -n 1 \"#{log_file}\"")
41
+ log_content = File.read("#{log_file}")
42
42
 
43
- success = last_line.include?("retCode: 200") and last_line.include?("\"msg\":\"success\"")
43
+ success = log_content.include?("retCode: 200") and log_content.include?("\"msg\":\"所有符号表都已经上传过。\"")
44
44
  if success
45
- UI.message "dSYM upload successfully 🎉 "
45
+ UI.success " 🎉 🎉 🎉 dSYM upload successfully (づ。◕‿‿◕。)づ"
46
46
  Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = true
47
47
  else
48
- UI.message "dSYM upload failed: #{last_line}"
48
+ UI.error "┭┮﹏┭┮ dSYM upload failed ┭┮﹏┭┮"
49
49
  Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = false
50
50
  raise if params[:raise_if_error]
51
51
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UploadDsymToBugly
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
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.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - liubo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -147,7 +147,7 @@ files:
147
147
  - lib/fastlane/plugin/upload_dsym_to_bugly.rb
148
148
  - lib/fastlane/plugin/upload_dsym_to_bugly/actions/upload_dsym_to_bugly_action.rb
149
149
  - lib/fastlane/plugin/upload_dsym_to_bugly/helper/upload_dsym_to_bugly_helper.rb
150
- - lib/fastlane/plugin/upload_dsym_to_bugly/jars/buglyqq-upload-symbol-3.3.4.jar
150
+ - lib/fastlane/plugin/upload_dsym_to_bugly/jars/buglyqq-upload-symbol.jar
151
151
  - lib/fastlane/plugin/upload_dsym_to_bugly/version.rb
152
152
  homepage: https://github.com/srv7/fastlane-plugin-upload_dsym_to_bugly
153
153
  licenses:
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubygems_version: 3.2.30
171
+ rubygems_version: 3.2.3
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: upload_dsym_to_bugly