fastlane-plugin-upload_dsym_to_bugly 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 548083004333712175e0d6cf6a5b4f5a7ba2f141aa74dea2b9fd7af43def3408
4
- data.tar.gz: 45734057d3fdeb56cddfc0175714d2da775b68f453b1d805982ec7d42a03966b
3
+ metadata.gz: c6890daf60a91eca16e505063e9e6e599d79680307e9e23d21a16ede772960c7
4
+ data.tar.gz: 639cd70717796f3ca31bae1da71fe45fa0fd817d0d6b1edd0833c324aaf26d8b
5
5
  SHA512:
6
- metadata.gz: a9a5115b828e61939b08be35f161a0949308ffb26662cb148a57fc5027f879ecd315cb479a93bc80dfc4e8ef0b7625b33255be0fca0bf5057178d4ffec95f1f4
7
- data.tar.gz: 3bf38946476d3001d677a19e4bb0423311ae169a72e09c5b75b1ccaf9d8af45e1d4c712c17233644c66fc299502036bf995576dff8ee7d4af593bebd7edbd0b0
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module UploadDsymToBugly
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-upload_dsym_to_bugly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - liubo