fastlane-plugin-sentry 1.2.1 → 1.2.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 116e1308595dbf5581763dccb450e9b9d83aeb85
|
4
|
+
data.tar.gz: e55fa1e4ea43e5a58ab8d8630e01164b01bf0875
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|