fastlane-plugin-sentry 1.14.0 → 1.15.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: 745bf8fab50902d7534e3092ce91c6160dc271c719e2047b205c66fd946a3847
4
- data.tar.gz: f6d4bee0a4f71a848c39ae0f02fa061955f87105105fea93849c385789166981
3
+ metadata.gz: 434ad149e865e3571aa9f3e521b4fb962835e2ef7c839a5eed41cc70c50335e5
4
+ data.tar.gz: 121c5c3525b09d308cdd4693474c4ce8b72b6a890fcb26084775049c52ec9cd7
5
5
  SHA512:
6
- metadata.gz: 8a3896dc4e7981b4b5a5060ba59ba6c3bec0e623efe8d2165a5608dd39770fab39c9978e3c4508806360fe1b8fa3cd7b7e9b9ac69b395f2c8c60111614dc6eef
7
- data.tar.gz: 400ebc2a4d747aa9e8ca4ef4b80adc3744e0a6ee007a721009ba257feaa371cdf9122d5044f15061b78aa1119a13562a7bf27f63917d6d9f6ad0794e8401355f
6
+ metadata.gz: 1cb08e4c5782f0ce3f2d805c0db577a3acd1eb017adbc20163fe31da028653d5c2c8505877b0caf879fdf2f5d5d89cc36b35189c8266145bd507e5e0d34de1f9
7
+ data.tar.gz: 95558b21eadc24963af80ff8e156eed9cb5d58387ae46321bbaf8bb75054d4771a0684dfaeb7d49ffc38cc2b3f5c0b50d879093088f31d6c50cb48c79dffce77
data/README.md CHANGED
@@ -64,7 +64,7 @@ sentry_upload_dif(
64
64
  auth_token: '...', # Do not use if using api_key
65
65
  org_slug: '...',
66
66
  project_slug: '...',
67
- path: '/path/to/files', # Optional. We'll default to '.' when no value is provided.
67
+ path: '/path/to/files', # Optional. Defaults to '.' when no value is provided. Path(s) can be a string, a comma-separated string, or an array of strings.
68
68
  )
69
69
  ```
70
70
 
@@ -175,6 +175,7 @@ sentry_set_commits(
175
175
  auto: false, # enable completely automated commit management
176
176
  clear: false, # clear all current commits from the release
177
177
  commit: '...', # commit spec, see `sentry-cli releases help set-commits` for more information
178
+ ignore_missing: false # Optional boolean value: When the flag is set and the previous release commit was not found in the repository, will create a release with the default commits count (or the one specified with `--initial-depth`) instead of failing the command.
178
179
  )
179
180
  ```
180
181
 
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -18,6 +18,7 @@ module Fastlane
18
18
 
19
19
  command.push('--auto') if params[:auto]
20
20
  command.push('--clear') if params[:clear]
21
+ command.push('--ignore-missing') if params[:ignore_missing]
21
22
  command.push('--commit').push(params[:commit]) unless params[:commit].nil?
22
23
 
23
24
  Helper::SentryHelper.call_sentry_cli(params, command)
@@ -62,7 +63,11 @@ module Fastlane
62
63
  default_value: false),
63
64
  FastlaneCore::ConfigItem.new(key: :commit,
64
65
  description: "Commit spec, see `sentry-cli releases help set-commits` for more information",
65
- optional: true)
66
+ optional: true),
67
+ FastlaneCore::ConfigItem.new(key: :ignore_missing,
68
+ description: "When enabled, if the previous release commit was not found in the repository, will create a release with the default commits count (or the one specified with `--initial-depth`) instead of failing the command",
69
+ is_string: false,
70
+ default_value: false)
66
71
  ]
67
72
  end
68
73
 
@@ -6,13 +6,14 @@ module Fastlane
6
6
 
7
7
  Helper::SentryConfig.parse_api_params(params)
8
8
 
9
- path = params[:path]
10
- path = '.' if path.nil?
9
+ paths = params[:path]
10
+ paths = ['.'] if paths.nil?
11
11
 
12
12
  command = [
13
- "upload-dif",
14
- path
13
+ "upload-dif"
15
14
  ]
15
+ command += paths
16
+
16
17
  command.push('--type').push(params[:type]) unless params[:type].nil?
17
18
  command.push('--no-unwind') unless params[:no_unwind].nil?
18
19
  command.push('--no-debug') unless params[:no_debug].nil?
@@ -51,7 +52,8 @@ module Fastlane
51
52
  def self.available_options
52
53
  Helper::SentryConfig.common_api_config_items + [
53
54
  FastlaneCore::ConfigItem.new(key: :path,
54
- description: "A path to search recursively for symbol files",
55
+ description: "Path or an array of paths to search recursively for symbol files",
56
+ type: Array,
55
57
  optional: true),
56
58
  FastlaneCore::ConfigItem.new(key: :type,
57
59
  short_option: "-t",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.14.0"
3
+ VERSION = "1.15.0"
4
4
  end
5
5
  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.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-05 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os