fastlane-plugin-sentry 1.2.8 → 1.3.0

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
  SHA1:
3
- metadata.gz: e2867ac89ecb33f5d65d0c03aa3819722158098c
4
- data.tar.gz: d789f8b69b7348e3619615dea6a2faa9fa1a80d6
3
+ metadata.gz: 406ea9a1ad9428bdcfdbfd844481578c7e8dee76
4
+ data.tar.gz: d63708115c27271c5960b4250c84aeb48f7e494d
5
5
  SHA512:
6
- metadata.gz: f85ada70d5f1bbd24ce52886eaa6c25e3d2fabaa6a0c0eec992953dc0a1a5b05568d7011f41c436ff5f3a16d8c36ac9ac18870062ffd5b431eb81ac0afcdff6d
7
- data.tar.gz: '08e66a3851c78d41a2416b37347cb13d97871cabe9d796b11efd308abf78eaca4925285f67b668f52d2a0aef3002e533ea490aa7b27a5a55d1ece50688ff3de7'
6
+ metadata.gz: f1924544269ebf193bd9ab7a3ba6ab0e5ed90d8e8e240e5f6ad30e4968d03d431aea4cbc96edc4aaaea973c57e1619a1fb9944d73c0b6570adba6be9b85a46dc
7
+ data.tar.gz: d30e8820eacc0740707f708d59dedc7095d387abc19083e092bcfd80a8c0a01f2061ebaf04db68140979d388c5424342ae648d8a4624161554e36ae432f8604d
@@ -16,7 +16,10 @@ module Fastlane
16
16
  UI.user_error!("dSYM does not exist at path: #{path}") unless File.exist? path
17
17
  end
18
18
 
19
- command = ["sentry-cli", "upload-dsym"] + dsym_paths
19
+ command = ["sentry-cli", "upload-dsym"]
20
+ command.push("--symbol-maps") unless params[:symbol_maps].nil?
21
+ command.push(params[:symbol_maps]) unless params[:symbol_maps].nil?
22
+ command += dsym_paths
20
23
 
21
24
  Helper::SentryHelper.call_sentry_cli(command)
22
25
  UI.success("Successfully uploaded dSYMs!")
@@ -41,17 +44,26 @@ module Fastlane
41
44
  def self.available_options
42
45
  Helper::SentryConfig.common_api_config_items + [
43
46
  FastlaneCore::ConfigItem.new(key: :dsym_path,
44
- env_name: "SENTRY_DSYM_PATH",
45
- description: "Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip",
46
- default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
47
- optional: true),
47
+ env_name: "SENTRY_DSYM_PATH",
48
+ description: "Path to your symbols file. For iOS and Mac provide path to app.dSYM.zip",
49
+ default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
50
+ optional: true,
51
+ verify_block: proc do |value|
52
+ UI.user_error! "Could not find Path to your symbols file at path '#{value}'" unless File.exist?(value)
53
+ end),
48
54
  FastlaneCore::ConfigItem.new(key: :dsym_paths,
49
55
  env_name: "SENTRY_DSYM_PATHS",
50
56
  description: "Path to an array of your symbols file. For iOS and Mac provide path to app.dSYM.zip",
51
57
  default_value: Actions.lane_context[SharedValues::DSYM_PATHS],
52
58
  is_string: false,
53
- optional: true)
54
-
59
+ optional: true),
60
+ FastlaneCore::ConfigItem.new(key: :symbol_maps,
61
+ env_name: "SENTRY_SYMBOL_MAPS",
62
+ description: "Optional path to bcsymbolmap files which are used to resolve hidden symbols in the actual dsym files. This requires the dsymutil tool to be available",
63
+ optional: true,
64
+ verify_block: proc do |value|
65
+ UI.user_error! "Could not find bcsymbolmap at path '#{value}'" unless File.exist?(value)
66
+ end)
55
67
  ]
56
68
  end
57
69
 
@@ -79,10 +79,10 @@ module Fastlane
79
79
  description: "Sets a URL prefix in front of all files",
80
80
  optional: true),
81
81
  FastlaneCore::ConfigItem.new(key: :app_identifier,
82
- short_option: "-a",
83
- env_name: "SENTRY_APP_IDENTIFIER",
84
- description: "App Bundle Identifier, prepended to version",
85
- optional: true)
82
+ short_option: "-a",
83
+ env_name: "SENTRY_APP_IDENTIFIER",
84
+ description: "App Bundle Identifier, prepended to version",
85
+ optional: true)
86
86
 
87
87
  ]
88
88
  end
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.2.8"
4
- CLI_VERSION = "1.9.0"
3
+ VERSION = "1.3.0"
4
+ CLI_VERSION = "1.19.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-26 00:00:00.000000000 Z
11
+ date: 2017-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry