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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe52a765522b2b77f2616428d31271c6739a6254
4
- data.tar.gz: f11bf44961e87ab53989b21c9a44c5288d92b48e
3
+ metadata.gz: f34936863731119b37524a0d45067667c121636e
4
+ data.tar.gz: 77f16feec834a2d82e8663f70571ee55e10aaeb7
5
5
  SHA512:
6
- metadata.gz: 6faaba7d865fd281f64d8e13d9e3750dc194666da123face8de194c4dc05960d29c9da6dfb2074fd20722f197ceb82ac7228a6bbd9009347ee62a66aa7c56e71
7
- data.tar.gz: 602c3b563a5ed0bb0887a831d3ac39747725ebc0fb1408c8819479df27d701292502952eb50b349ef36983208c6e7911ce37ad7cea57edff0f26c9d2ebb4d07a
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
 
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  CLI_VERSION = "1.9.0"
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry