fastlane-plugin-sentry 1.2.0 → 1.2.1
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 +4 -4
- data/README.md +3 -0
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_file.rb +10 -1
- data/lib/fastlane/plugin/sentry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f34936863731119b37524a0d45067667c121636e
|
|
4
|
+
data.tar.gz: 77f16feec834a2d82e8663f70571ee55e10aaeb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e3ed3ed9c74470309a7b93e8c1f5a090c2f1f3b149dcde3836b878b0518f9b74964ad897262d508257bd4852ad1904ab9a91dcc2be152e864af24c02c034464
|
|
7
|
+
data.tar.gz: aa4fd13a9ca645eeb800765ad92f4b85e6b6744a4cf1ae61b35ec456eacb3b7c6a8f785500b2e8c24447e629b545facd159c047695f262a26edd7fa1e60c5410
|
data/README.md
CHANGED
|
@@ -46,6 +46,7 @@ sentry_create_release(
|
|
|
46
46
|
org_slug: '...',
|
|
47
47
|
project_slug: '...',
|
|
48
48
|
version: '...', # release version to create
|
|
49
|
+
app_identifier: '...', # pass in the bundle_identifer of your app
|
|
49
50
|
finalize: true # Whether to finalize the release. If not provided or false, the release can be finalized using the sentry_finalize_release action
|
|
50
51
|
)
|
|
51
52
|
```
|
|
@@ -61,6 +62,7 @@ sentry_upload_file(
|
|
|
61
62
|
org_slug: '...',
|
|
62
63
|
project_slug: '...',
|
|
63
64
|
version: '...',
|
|
65
|
+
app_identifier: '...', # pass in the bundle_identifer of your app
|
|
64
66
|
dist: '...', # distribution of the release usually the buildnumber
|
|
65
67
|
file: 'main.jsbundle' # file to upload
|
|
66
68
|
)
|
|
@@ -73,6 +75,7 @@ sentry_upload_sourcemap(
|
|
|
73
75
|
org_slug: '...',
|
|
74
76
|
project_slug: '...',
|
|
75
77
|
version: '...',
|
|
78
|
+
app_identifier: '...', # pass in the bundle_identifer of your app
|
|
76
79
|
dist: '...', # distribution of the release usually the buildnumber
|
|
77
80
|
sourcemap: 'main.jsbundle.map', # sourcemap to upload
|
|
78
81
|
rewrite: true
|
|
@@ -12,6 +12,8 @@ module Fastlane
|
|
|
12
12
|
file_url_arg = params[:file_url] ? "'#{params[:file_url]}'" : ''
|
|
13
13
|
dist_arg = params[:dist] ? "--dist '#{params[:dist]}'" : ''
|
|
14
14
|
|
|
15
|
+
version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
|
|
16
|
+
|
|
15
17
|
command = "sentry-cli releases files '#{Shellwords.escape(version)}' upload #{file} #{file_url_arg} #{dist_arg}"
|
|
16
18
|
|
|
17
19
|
Helper::SentryHelper.call_sentry_cli(command)
|
|
@@ -46,7 +48,14 @@ module Fastlane
|
|
|
46
48
|
end),
|
|
47
49
|
FastlaneCore::ConfigItem.new(key: :file_url,
|
|
48
50
|
description: "Optional URL we should associate with the file",
|
|
49
|
-
optional: true)
|
|
51
|
+
optional: true),
|
|
52
|
+
|
|
53
|
+
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
|
54
|
+
short_option: "-a",
|
|
55
|
+
env_name: "SENTRY_APP_IDENTIFIER",
|
|
56
|
+
description: "App Bundle Identifier",
|
|
57
|
+
optional: true,
|
|
58
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier))
|
|
50
59
|
]
|
|
51
60
|
end
|
|
52
61
|
|
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.
|
|
4
|
+
version: 1.2.1
|
|
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-
|
|
11
|
+
date: 2017-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|