fastlane-plugin-sentry 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -17
- data/bin/sentry-cli-Darwin-universal +0 -0
- data/bin/sentry-cli-Linux-i686 +0 -0
- data/bin/sentry-cli-Linux-x86_64 +0 -0
- data/bin/sentry-cli-Windows-i686.exe +0 -0
- data/bin/sentry-cli-Windows-x86_64.exe +0 -0
- data/lib/fastlane/plugin/sentry/actions/sentry_set_commits.rb +6 -1
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_dif.rb +7 -5
- data/lib/fastlane/plugin/sentry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '082a8a94716c081d140251f2aa2213f7cfe00736db89974f5e988520c1e79bb3'
|
4
|
+
data.tar.gz: 32e1a27f3f374c70e3a398610a6921c4bc18dc1e5ef04786aab11c43645727d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d32e8d4905396df49177ec456d6a6372dd67e3cf345b2c16c0afd9256ca1ce5da6b2e9f945a4425dc139ef2f6da371068310b067a7474ab963c1f5b8bcf16e
|
7
|
+
data.tar.gz: a625410b57aaf0a6f93944ba3f9ed7f7d6f483fd65c6652a5c5d298a0d66c172719283d3b22fa402e79256d128daaaa0c4f60dcf59dda6291f6405a799ad9891
|
data/README.md
CHANGED
@@ -50,7 +50,7 @@ A subset of actions provided by the CLI: https://docs.sentry.io/learn/cli/
|
|
50
50
|
|
51
51
|
### Authentication & Configuration
|
52
52
|
|
53
|
-
`auth_token` is the preferred
|
53
|
+
`auth_token` is the preferred authentication method with Sentry. This can be obtained on https://sentry.io/api/.
|
54
54
|
`api_key` still works but will eventually become deprecated. This can be obtained through the settings of your project.
|
55
55
|
Also note that as of version `1.2.0` you no longer have to provide the required parameters, we will try to fallback to your `.sentryclirc` config file if possible.
|
56
56
|
|
@@ -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.
|
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
|
|
@@ -121,20 +121,6 @@ sentry_create_release(
|
|
121
121
|
|
122
122
|
Useful for uploading build artifacts and JS sourcemaps for react-native apps built using fastlane.
|
123
123
|
|
124
|
-
```ruby
|
125
|
-
sentry_upload_file(
|
126
|
-
api_key: '...',
|
127
|
-
auth_token: '...',
|
128
|
-
org_slug: '...',
|
129
|
-
project_slug: '...',
|
130
|
-
version: '...',
|
131
|
-
app_identifier: '...', # pass in the bundle_identifer of your app
|
132
|
-
build: '...', # Optionally pass in the build number of your app
|
133
|
-
dist: '...', # optional distribution of the release usually the buildnumber
|
134
|
-
file: 'main.jsbundle' # file to upload
|
135
|
-
)
|
136
|
-
```
|
137
|
-
|
138
124
|
```ruby
|
139
125
|
sentry_upload_sourcemap(
|
140
126
|
api_key: '...',
|
@@ -145,7 +131,7 @@ sentry_upload_sourcemap(
|
|
145
131
|
app_identifier: '...', # pass in the bundle_identifer of your app
|
146
132
|
build: '...', # Optionally pass in the build number of your app
|
147
133
|
dist: '...', # optional distribution of the release usually the buildnumber
|
148
|
-
sourcemap: 'main.jsbundle.map', # Sourcemap(s) to upload. Path(s) can be a comma-separated string or an array of strings.
|
134
|
+
sourcemap: ['main.jsbundle', 'main.jsbundle.map'], # Sourcemap(s) to upload. Path(s) can be a comma-separated string or an array of strings.
|
149
135
|
rewrite: true
|
150
136
|
)
|
151
137
|
```
|
@@ -175,6 +161,7 @@ sentry_set_commits(
|
|
175
161
|
auto: false, # enable completely automated commit management
|
176
162
|
clear: false, # clear all current commits from the release
|
177
163
|
commit: '...', # commit spec, see `sentry-cli releases help set-commits` for more information
|
164
|
+
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
165
|
)
|
179
166
|
```
|
180
167
|
|
Binary file
|
data/bin/sentry-cli-Linux-i686
CHANGED
Binary file
|
data/bin/sentry-cli-Linux-x86_64
CHANGED
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
|
-
|
10
|
-
|
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: "
|
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",
|
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.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|