fastlane-plugin-sentry 1.2.1 → 1.2.2

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: f34936863731119b37524a0d45067667c121636e
4
- data.tar.gz: 77f16feec834a2d82e8663f70571ee55e10aaeb7
3
+ metadata.gz: 116e1308595dbf5581763dccb450e9b9d83aeb85
4
+ data.tar.gz: e55fa1e4ea43e5a58ab8d8630e01164b01bf0875
5
5
  SHA512:
6
- metadata.gz: 6e3ed3ed9c74470309a7b93e8c1f5a090c2f1f3b149dcde3836b878b0518f9b74964ad897262d508257bd4852ad1904ab9a91dcc2be152e864af24c02c034464
7
- data.tar.gz: aa4fd13a9ca645eeb800765ad92f4b85e6b6744a4cf1ae61b35ec456eacb3b7c6a8f785500b2e8c24447e629b545facd159c047695f262a26edd7fa1e60c5410
6
+ metadata.gz: 29fcbe766e8c0d0fb8f8198d7b979e6d00cb761d8be7bea44447e2ad7388819c8f8b6d4d87321fa5442ec33ccc32bc200fdb5b3830c28912c92d6a1750262c66
7
+ data.tar.gz: 66afd1b1a227ced3a0314c3c44845fb847809904c0f40a533b2d7de550df42ed835dc012745b12c82825d2905bde966341a8c24df69210517cf31eace2b978c4
@@ -8,6 +8,8 @@ module Fastlane
8
8
  Helper::SentryConfig.parse_api_params(params)
9
9
 
10
10
  version = params[:version]
11
+ version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
12
+
11
13
  finalize_arg = params[:finalize] ? ' --finalize' : ''
12
14
 
13
15
  command = "sentry-cli releases new '#{Shellwords.escape(version)}' #{finalize_arg}"
@@ -39,7 +41,14 @@ module Fastlane
39
41
  description: "Whether to finalize the release. If not provided or false, the release can be finalized using the finalize_release action",
40
42
  default_value: false,
41
43
  is_string: false,
42
- optional: true)
44
+ optional: true),
45
+ FastlaneCore::ConfigItem.new(key: :app_identifier,
46
+ short_option: "-a",
47
+ env_name: "SENTRY_APP_IDENTIFIER",
48
+ description: "App Bundle Identifier",
49
+ optional: true,
50
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier))
51
+
43
52
  ]
44
53
  end
45
54
 
@@ -10,6 +10,8 @@ module Fastlane
10
10
  version = params[:version]
11
11
  sourcemap = params[:sourcemap]
12
12
 
13
+ version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
14
+
13
15
  rewrite_arg = params[:rewrite] ? '--rewrite' : ''
14
16
  strip_prefix_arg = params[:strip_prefix] ? '--strip-prefix' : ''
15
17
  strip_common_prefix_arg = params[:strip_common_prefix] ? '--strip-common-prefix' : ''
@@ -79,7 +81,14 @@ module Fastlane
79
81
  optional: true),
80
82
  FastlaneCore::ConfigItem.new(key: :url_prefix,
81
83
  description: "Sets a URL prefix in front of all files",
82
- optional: true)
84
+ optional: true),
85
+ FastlaneCore::ConfigItem.new(key: :app_identifier,
86
+ short_option: "-a",
87
+ env_name: "SENTRY_APP_IDENTIFIER",
88
+ description: "App Bundle Identifier",
89
+ optional: true,
90
+ default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier))
91
+
83
92
  ]
84
93
  end
85
94
 
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  CLI_VERSION = "1.9.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry