fastlane-plugin-sentry 1.10.0 → 1.10.1

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: eeb54cbb7cb68c15aa862be7d5cd184eb17b3094259506b567a4e0063a746355
4
- data.tar.gz: e6e1da94a7281cb8764c9206eb560072c8105d1652abc2a84442a8fbac97f3a3
3
+ metadata.gz: b3525683a69ad2fe32b95055e0d767db9a7a8bcc4f9f2e4448087ae5fa3beba5
4
+ data.tar.gz: ef2a9d0aee82f66be83ad4c89f5c699c70ebe1181c0ab470f9ac917a146b34bd
5
5
  SHA512:
6
- metadata.gz: 8a62afff2c359f21dd6454906faf5e87382d0aed9dcb9eaf16de9d172abd98cb2eac4244de45a5ff30ced65ea8489598490c056b3ecff65f9107f119de0d69b1
7
- data.tar.gz: 5688c994bd61392ff490715d03241f086a808018f7fe02f3b5be38e2c73e91259eee8ca319a1b309b1949edd63487e2f70e229b5818c73e442e62bae0406d655
6
+ metadata.gz: 9c9d81ffd9aca6f2b22ef771afa669db0dc1708b8724422722a7597c71505fe0f7eb1c8895019ef7c5851c6f9528a52b3ef3c0aa02eb9959343724ad477a59cc
7
+ data.tar.gz: 8b297ca55069d07d7ccbd9c3ee5c6ef56c15e5b8ae5dc02e40e9bf16b709ba8eb8a6badfc5e4bc02e31d34b43ee15880cd0196bf8123a9800af2e971a7520744
data/README.md CHANGED
@@ -22,7 +22,7 @@ fastlane add_plugin sentry
22
22
 
23
23
  A subset of actions provided by the CLI: https://docs.sentry.io/learn/cli/
24
24
 
25
- #### Authentication & Configuration
25
+ ### Authentication & Configuration
26
26
 
27
27
  `auth_token` is the preferred way to authentication method with Sentry. This can be obtained on https://sentry.io/api/.
28
28
  `api_key` still works but will eventually become deprecated. This can be obtained through the settings of your project.
@@ -30,7 +30,40 @@ Also note that as of version `1.2.0` you no longer have to provide the required
30
30
 
31
31
  The following environment variables may be used in place of parameters: `SENTRY_API_KEY`, `SENTRY_AUTH_TOKEN`, `SENTRY_ORG_SLUG`, and `SENTRY_PROJECT_SLUG`.
32
32
 
33
- #### Uploading Symbolication Files
33
+ ### Uploading Debug Information Files
34
+
35
+ ```ruby
36
+ sentry_upload_dif(
37
+ api_key: '...', # Do not use if using auth_token
38
+ auth_token: '...', # Do not use if using api_key
39
+ org_slug: '...',
40
+ project_slug: '...',
41
+ path: '/path/to/files', # Optional. We'll default to '.' when no value is provided.
42
+ )
43
+ ```
44
+
45
+ The `SENTRY_DSYM_PATH` environment variable may be used in place of the `dsym_path` parameter.
46
+
47
+ Further options:
48
+
49
+ - __type__: Optional. Only consider debug information files of the given type. By default, all types are considered. Valid options: 'dsym', 'elf', 'breakpad', 'pdb', 'pe', 'sourcebundle', 'bcsymbolmap'.
50
+ - __no_unwind__: Optional. Do not scan for stack unwinding information. Specify this flag for builds with disabled FPO, or when stackwalking occurs on the device. This usually excludes executables and dynamic libraries. They might still be uploaded, if they contain additional processable information (see other flags)".
51
+ - __no_debug__: Optional. Do not scan for debugging information. This will usually exclude debug companion files. They might still be uploaded, if they contain additional processable information (see other flags)".
52
+ - __no_sources__: Optional. "Do not scan for source information. This will usually exclude source bundle files. They might still be uploaded, if they contain additional processable information (see other flags)".
53
+ - __ids__: Optional. Search for specific debug identifiers.
54
+ - __require_all__: Optional. Errors if not all identifiers specified with --id could be found.
55
+ - __symbol_maps__: Optional. Optional path to BCSymbolMap files which are used to resolve hidden symbols in dSYM files downloaded from iTunes Connect. This requires the dsymutil tool to be available.
56
+ - __derived_data__: Optional. Search for debug symbols in Xcode's derived data.
57
+ - __no_zips__: Do not search in ZIP files.
58
+ - __info_plist__: Optional. Optional path to the Info.plist. We will try to find this automatically if run from Xcode. Providing this information will associate the debug symbols with a specific ITC application and build in Sentry. Note that if you provide the plist explicitly it must already be processed.
59
+ - __no_reprocessing__: Optional. Do not trigger reprocessing after uploading.
60
+ - __force_foreground__: Optional. Wait for the process to finish. By default, the upload process will detach and continue in the background when triggered from Xcode. When an error happens, a dialog is shown. If this parameter is passed Xcode will wait for the process to finish before the build finishes and output will be shown in the Xcode build output.
61
+ - __include_sources__: Optional. Include sources from the local file system and upload them as source bundles.
62
+ - __wait__: Wait for the server to fully process uploaded files. Errors can only be displayed if --wait is specified, but this will significantly slow down the upload process.
63
+ - __upload_symbol_maps__: Optional. Upload any BCSymbolMap files found to allow Sentry to resolve hidden symbols, e.g. when it downloads dSYMs directly from App Store Connect or when you upload dSYMs without first resolving the hidden symbols using --symbol-maps.
64
+
65
+
66
+ Or the soon to be deprecated way:
34
67
 
35
68
  ```ruby
36
69
  sentry_upload_dsym(
@@ -44,9 +77,7 @@ sentry_upload_dsym(
44
77
  )
45
78
  ```
46
79
 
47
- The `SENTRY_DSYM_PATH` environment variable may be used in place of the `dsym_path` parameter.
48
-
49
- #### Creating & Finalizing Releases
80
+ ### Creating & Finalizing Releases
50
81
 
51
82
  ```ruby
52
83
  sentry_create_release(
@@ -60,7 +91,7 @@ sentry_create_release(
60
91
  )
61
92
  ```
62
93
 
63
- #### Uploading Files & Sourcemaps
94
+ ### Uploading Files & Sourcemaps
64
95
 
65
96
  Useful for uploading build artifacts and JS sourcemaps for react-native apps built using fastlane.
66
97
 
@@ -93,7 +124,7 @@ sentry_upload_sourcemap(
93
124
  )
94
125
  ```
95
126
 
96
- #### Uploading Proguard Mapping File
127
+ ### Uploading Proguard Mapping File
97
128
 
98
129
  ```ruby
99
130
  sentry_upload_proguard(
@@ -106,19 +137,7 @@ sentry_upload_proguard(
106
137
  )
107
138
  ```
108
139
 
109
- #### Upload Debugging Information Files
110
-
111
- ```ruby
112
- sentry_upload_dif(
113
- api_key: '...', # Do not use if using auth_token
114
- auth_token: '...', # Do not use if using api_key
115
- org_slug: '...',
116
- project_slug: '...',
117
- path: '/path/to/files' # Optional. Well default to '.' when no value is provided.
118
- )
119
- ```
120
-
121
- #### Associating commits
140
+ ### Associating commits
122
141
 
123
142
  Useful for telling Sentry which commits are associated with a release.
124
143
 
@@ -133,7 +152,7 @@ sentry_set_commits(
133
152
  )
134
153
  ```
135
154
 
136
- #### Create deploy
155
+ ### Create deploy
137
156
 
138
157
  Creates a new release deployment for a project on Sentry.
139
158
 
@@ -155,7 +174,7 @@ sentry_create_deploy(
155
174
  )
156
175
  ```
157
176
 
158
- #### Checking the sentry-cli is installed
177
+ ### Checking the sentry-cli is installed
159
178
 
160
179
  Useful for checking that the sentry-cli is installed and meets the minimum version requirements before starting to build your app in your lane.
161
180
 
@@ -16,20 +16,20 @@ module Fastlane
16
16
  path
17
17
  ]
18
18
  command.push('--type').push(params[:type]) unless params[:type].nil?
19
- command.push('--no_unwind') unless params[:no_unwind].nil?
20
- command.push('--no_debug') unless params[:no_debug].nil?
21
- command.push('--no_sources') unless params[:no_sources].nil?
19
+ command.push('--no-unwind') unless params[:no_unwind].nil?
20
+ command.push('--no-debug') unless params[:no_debug].nil?
21
+ command.push('--no-sources') unless params[:no_sources].nil?
22
22
  command.push('--ids').push(params[:ids]) unless params[:ids].nil?
23
- command.push('--require_all') unless params[:require_all].nil?
24
- command.push('--symbol_maps').push(params[:symbol_maps]) unless params[:symbol_maps].nil?
25
- command.push('--derived_data') unless params[:derived_data].nil?
26
- command.push('--no_zips') unless params[:no_zips].nil?
27
- command.push('--info_plist').push(params[:info_plist]) unless params[:info_plist].nil?
28
- command.push('--no_reprocessing') unless params[:no_reprocessing].nil?
29
- command.push('--force_foreground') unless params[:force_foreground].nil?
30
- command.push('--include_sources') unless params[:include_sources].nil?
23
+ command.push('--require-all') unless params[:require_all].nil?
24
+ command.push('--symbol-maps').push(params[:symbol_maps]) unless params[:symbol_maps].nil?
25
+ command.push('--derived-data') unless params[:derived_data].nil?
26
+ command.push('--no-zips') unless params[:no_zips].nil?
27
+ command.push('--info-plist').push(params[:info_plist]) unless params[:info_plist].nil?
28
+ command.push('--no-reprocessing') unless params[:no_reprocessing].nil?
29
+ command.push('--force-foreground') unless params[:force_foreground].nil?
30
+ command.push('--include-sources') unless params[:include_sources].nil?
31
31
  command.push('--wait') unless params[:wait].nil?
32
- command.push('--upload_symbol_maps') unless params[:upload_symbol_maps].nil?
32
+ command.push('--upload-symbol-maps') unless params[:upload_symbol_maps].nil?
33
33
 
34
34
  Helper::SentryHelper.call_sentry_cli(command)
35
35
  UI.success("Successfully ran upload-dif")
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.10.0"
3
+ VERSION = "1.10.1"
4
4
  CLI_VERSION = "1.63.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.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-04 00:00:00.000000000 Z
11
+ date: 2021-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry