fastlane-plugin-upload_dsym_to_bugly 1.1.1 → 1.1.2
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: c6890daf60a91eca16e505063e9e6e599d79680307e9e23d21a16ede772960c7
|
4
|
+
data.tar.gz: 639cd70717796f3ca31bae1da71fe45fa0fd817d0d6b1edd0833c324aaf26d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af9141f0defc121b425d75e1d31a67c04d5c653d9445d9c9b912ad34f9a945704b5008aad066c35ccf7382075b9ad1d6b0c5899eb00c047eb94fcd5e24d6585
|
7
|
+
data.tar.gz: 7b5c79bfa3249f5f786b6efd77af7b9390cb59606ecdf80395ca9123ada0495ae49876eeda2ac3d462dc0ca67cea2010d5c84ba7f6e1e6ee0386a7f08752e023
|
@@ -3,6 +3,9 @@ require_relative "../helper/upload_dsym_to_bugly_helper"
|
|
3
3
|
|
4
4
|
module Fastlane
|
5
5
|
module Actions
|
6
|
+
module SharedValues
|
7
|
+
UPLOAD_DSYM_TO_BUGLY_RESULT = :UPLOAD_DSYM_TO_BUGLY_RESULT
|
8
|
+
end
|
6
9
|
class UploadDsymToBuglyAction < Action
|
7
10
|
def self.run(params)
|
8
11
|
require "json"
|
@@ -39,12 +42,15 @@ module Fastlane
|
|
39
42
|
ret = obj["rtcode"]
|
40
43
|
if ret == 0
|
41
44
|
UI.message "dSYM upload success"
|
45
|
+
Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = true
|
42
46
|
else
|
43
47
|
UI.message "dSYM upload failed, result is #{obj}"
|
48
|
+
Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = false
|
44
49
|
raise if params[:raise_if_error]
|
45
50
|
end
|
46
51
|
rescue
|
47
52
|
UI.message "dSYM upload failed"
|
53
|
+
Actions.lane_context[SharedValues::UPLOAD_DSYM_TO_BUGLY_RESULT] = false
|
48
54
|
raise if params[:raise_if_error]
|
49
55
|
end
|
50
56
|
end
|
@@ -137,6 +143,13 @@ module Fastlane
|
|
137
143
|
]
|
138
144
|
end
|
139
145
|
|
146
|
+
def self.output
|
147
|
+
# Define the shared values you are going to provide
|
148
|
+
[
|
149
|
+
["UPLOAD_DSYM_TO_BUGLY_RESULT", "upload result"],
|
150
|
+
]
|
151
|
+
end
|
152
|
+
|
140
153
|
def self.is_supported?(platform)
|
141
154
|
platform == :ios
|
142
155
|
end
|