fastlane-plugin-sentry 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/sentry/actions/sentry_create_release.rb +8 -2
- data/lib/fastlane/plugin/sentry/actions/sentry_finalize_release.rb +6 -1
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_dsym.rb +1 -1
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_file.rb +10 -3
- data/lib/fastlane/plugin/sentry/actions/sentry_upload_sourcemap.rb +9 -14
- 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: 4681db8a02b6d267984e39e5c11b9a3b4cc72288
|
4
|
+
data.tar.gz: 14af124a211991927ccb5e0ee9a79ec8baf56f1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f3c32dcfdd7e39bd13fd553a2369826276a95b5ac6aa91f9294bb8f1480203d832fc704807fa07f52c9250105fe6639e88d891985858f71805b1347a7b1c71c
|
7
|
+
data.tar.gz: 5fc893dca058decc8666ae442ff28ef9895febeffb7efa5d24a93ac9ba874baccef43e1358fefa2d3d0ff35c61fc33d398c2a1ac0635422b55bf26e308d1a774
|
@@ -10,9 +10,15 @@ module Fastlane
|
|
10
10
|
version = params[:version]
|
11
11
|
version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
|
12
12
|
|
13
|
-
finalize_arg = params[:finalize] ? '
|
13
|
+
#finalize_arg = params[:finalize] ? '--finalize'
|
14
14
|
|
15
|
-
command =
|
15
|
+
command = [
|
16
|
+
"sentry-cli",
|
17
|
+
"releases",
|
18
|
+
"new",
|
19
|
+
Shellwords.escape(version)
|
20
|
+
]
|
21
|
+
command.push("--finalize") if params[:finalize].nil?
|
16
22
|
|
17
23
|
Helper::SentryHelper.call_sentry_cli(command)
|
18
24
|
UI.success("Successfully created release: #{version}")
|
@@ -9,7 +9,12 @@ module Fastlane
|
|
9
9
|
|
10
10
|
version = params[:version]
|
11
11
|
|
12
|
-
command =
|
12
|
+
command = [
|
13
|
+
"sentry-cli",
|
14
|
+
"releases",
|
15
|
+
"finalize",
|
16
|
+
Shellwords.escape(version)
|
17
|
+
]
|
13
18
|
|
14
19
|
Helper::SentryHelper.call_sentry_cli(command)
|
15
20
|
UI.success("Successfully finalized release: #{version}")
|
@@ -16,7 +16,7 @@ module Fastlane
|
|
16
16
|
UI.user_error!("dSYM does not exist at path: #{path}") unless File.exist? path
|
17
17
|
end
|
18
18
|
|
19
|
-
command = "sentry-cli upload-dsym
|
19
|
+
command = ["sentry-cli", "upload-dsym"] + dsym_paths
|
20
20
|
|
21
21
|
Helper::SentryHelper.call_sentry_cli(command)
|
22
22
|
UI.success("Successfully uploaded dSYMs!")
|
@@ -9,12 +9,19 @@ module Fastlane
|
|
9
9
|
|
10
10
|
version = params[:version]
|
11
11
|
file = params[:file]
|
12
|
-
file_url_arg = params[:file_url] ? "'#{params[:file_url]}'" : ''
|
13
|
-
dist_arg = params[:dist] ? "--dist '#{params[:dist]}'" : ''
|
14
12
|
|
15
13
|
version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
|
16
14
|
|
17
|
-
command =
|
15
|
+
command = [
|
16
|
+
"sentry-cli",
|
17
|
+
"releases",
|
18
|
+
"files",
|
19
|
+
Shellwords.escape(version),
|
20
|
+
"upload",
|
21
|
+
file
|
22
|
+
]
|
23
|
+
command.push(params[:file_url]) if !params[:file_url].nil?
|
24
|
+
command.push("--dist").push(params[:dist]) if !params[:dist].nil?
|
18
25
|
|
19
26
|
Helper::SentryHelper.call_sentry_cli(command)
|
20
27
|
UI.success("Successfully uploaded files to release: #{version}")
|
@@ -12,25 +12,20 @@ module Fastlane
|
|
12
12
|
|
13
13
|
version = "#{params[:app_identifier]}-#{params[:version]}" if params[:app_identifier]
|
14
14
|
|
15
|
-
rewrite_arg = params[:rewrite] ? '--rewrite' : ''
|
16
|
-
strip_prefix_arg = params[:strip_prefix] ? '--strip-prefix' : ''
|
17
|
-
strip_common_prefix_arg = params[:strip_common_prefix] ? '--strip-common-prefix' : ''
|
18
|
-
url_prefix_arg = params[:url_prefix] ? "--url-prefix '#{params[:url_prefix]}'" : ''
|
19
|
-
dist_arg = params[:dist] ? "--dist '#{params[:dist]}'" : ''
|
20
|
-
|
21
15
|
command = [
|
22
16
|
"sentry-cli",
|
23
17
|
"releases",
|
24
18
|
"files",
|
25
|
-
|
19
|
+
Shellwords.escape(version),
|
26
20
|
"upload-sourcemaps",
|
27
|
-
sourcemap.to_s
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
sourcemap.to_s
|
22
|
+
]
|
23
|
+
|
24
|
+
command.push('--rewrite') if params[:rewrite]
|
25
|
+
command.push('--strip-prefix') if params[:strip_prefix]
|
26
|
+
command.push('--strip-common-prefix') if params[:strip_common_prefix]
|
27
|
+
command.push('--url-prefix').push(params[:url_prefix]) if !params[:url_prefix].nil?
|
28
|
+
command.push('--dist').push(params[:dist]) if !params[:dist].nil?
|
34
29
|
|
35
30
|
Helper::SentryHelper.call_sentry_cli(command)
|
36
31
|
UI.success("Successfully uploaded files to release: #{version}")
|
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.4
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|