fastlane-plugin-upload_dsym_to_bugly 2.0.1 → 2.1.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: 4b688fde25af37f186763b15245e410a3334265fba920193bbb4d30ec368cba2
4
- data.tar.gz: f986bb43300e8c476a9da3bffa08fa6de4879c8abf9df3a390ec8159c2e6046b
3
+ metadata.gz: cddfdc1f35e8ad90b1efbccd243c89783cd9884caed380f7a8ef684b9f0a3932
4
+ data.tar.gz: 00e8d6921899d9f71580ffea34b780f976da1664904cefe575c8a5ba4a1e5c0a
5
5
  SHA512:
6
- metadata.gz: 0f411f834fee0cabd1958edac2ceb580faba48a75916cf5ffdb635ca1ceb6af6f5299876f56a28ac8b696fa0034296a1729ebc2c5fa88604d5d231fe9a264fab
7
- data.tar.gz: e21ec9bf95eed1d556a34a44ef9d4c0e9b0610069505c423fcda3468440e1140ae5bde47356fa10b118f2d80c13c4c4d7eab1ed146f995891113a005c4526364
6
+ metadata.gz: f59a362195d3b9a938e9e915f3afb8e90c8f4cbe0c1c3b6b018a89ec8c7d6b29e6d9e8122374c8846a13c74cf9ca62735761847b4ea8674f7800d1cb6108c0a7
7
+ data.tar.gz: ea2e7b25a331c685313bd25db9ed502ce490f46ab64ea7fcd05e589159e4f1651b936c3eb4e12e562cd9f742dd202e5536d775fe8179e0eaded4bc0e3de1095c
@@ -30,7 +30,9 @@ module Fastlane
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
+
34
+ java_path = params[:java_path] || 'java'
35
+ cmd = "#{java_path} -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
36
 
35
37
  log_file = "dSYM_upload_result.log"
36
38
 
@@ -123,7 +125,13 @@ module Fastlane
123
125
  default_value: true,
124
126
  is_string: false,
125
127
  type: Boolean,
126
- optional: false)
128
+ optional: false),
129
+ FastlaneCore::ConfigItem.new(key: :java_path,
130
+ env_name: "FL_UPLOAD_DSYM_TO_BUGLY_JAVA_PATH",
131
+ description: "Use specific Java, instead of system one",
132
+ default_value: nil,
133
+ is_string: true,
134
+ optional: true),
127
135
  ]
128
136
  end
129
137
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UploadDsymToBugly
3
- VERSION = "2.0.1"
3
+ VERSION = "2.1.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.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - liubo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -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.1.2
171
+ rubygems_version: 3.2.30
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: upload_dsym_to_bugly