fastlane-plugin-sentry 1.13.1 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sentry-cli-Darwin-universal +0 -0
- data/bin/sentry-cli-Linux-i686 +0 -0
- data/bin/sentry-cli-Linux-x86_64 +0 -0
- data/bin/sentry-cli-Windows-i686.exe +0 -0
- data/bin/sentry-cli-Windows-x86_64.exe +0 -0
- data/lib/fastlane/plugin/sentry/helper/sentry_helper.rb +26 -1
- data/lib/fastlane/plugin/sentry/version.rb +1 -1
- metadata +3 -5
- data/bin/sentry_cli_path +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 745bf8fab50902d7534e3092ce91c6160dc271c719e2047b205c66fd946a3847
|
4
|
+
data.tar.gz: f6d4bee0a4f71a848c39ae0f02fa061955f87105105fea93849c385789166981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a3896dc4e7981b4b5a5060ba59ba6c3bec0e623efe8d2165a5608dd39770fab39c9978e3c4508806360fe1b8fa3cd7b7e9b9ac69b395f2c8c60111614dc6eef
|
7
|
+
data.tar.gz: 400ebc2a4d747aa9e8ca4ef4b80adc3744e0a6ee007a721009ba257feaa371cdf9122d5044f15061b78aa1119a13562a7bf27f63917d6d9f6ad0794e8401355f
|
Binary file
|
data/bin/sentry-cli-Linux-i686
CHANGED
Binary file
|
data/bin/sentry-cli-Linux-x86_64
CHANGED
Binary file
|
Binary file
|
Binary file
|
@@ -1,8 +1,10 @@
|
|
1
|
+
require 'os'
|
2
|
+
|
1
3
|
module Fastlane
|
2
4
|
module Helper
|
3
5
|
class SentryHelper
|
4
6
|
def self.find_and_check_sentry_cli_path!(params)
|
5
|
-
bundled_sentry_cli_path =
|
7
|
+
bundled_sentry_cli_path = self.bundled_sentry_cli_path
|
6
8
|
bundled_sentry_cli_version = Gem::Version.new(`#{bundled_sentry_cli_path} --version`.scan(/(?:\d+\.?){3}/).first)
|
7
9
|
|
8
10
|
sentry_cli_path = params[:sentry_cli_path] || bundled_sentry_cli_path
|
@@ -56,6 +58,29 @@ module Fastlane
|
|
56
58
|
out_reader.value
|
57
59
|
end
|
58
60
|
end
|
61
|
+
|
62
|
+
def self.bundled_sentry_cli_path
|
63
|
+
if OS.mac?
|
64
|
+
self.bin_folder('sentry-cli-Darwin-universal')
|
65
|
+
elsif OS.windows?
|
66
|
+
if OS.bits == 64
|
67
|
+
self.bin_folder('sentry-cli-Windows-x86_64.exe')
|
68
|
+
else
|
69
|
+
self.bin_folder('sentry-cli-Windows-i686.exe')
|
70
|
+
end
|
71
|
+
else
|
72
|
+
if OS.bits == 64
|
73
|
+
self.bin_folder('sentry-cli-Linux-x86_64')
|
74
|
+
else
|
75
|
+
self.bin_folder('sentry-cli-Linux-i686')
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# Get path for files in bin folder. Paths are resolved relative to this file, for which there are also unit tests.
|
81
|
+
def self.bin_folder(filename)
|
82
|
+
File.expand_path("../../../../../bin/#{filename}", File.dirname(__FILE__))
|
83
|
+
end
|
59
84
|
end
|
60
85
|
end
|
61
86
|
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.
|
4
|
+
version: 1.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: os
|
@@ -102,8 +102,7 @@ dependencies:
|
|
102
102
|
version: '0'
|
103
103
|
description:
|
104
104
|
email: hello@sentry.io
|
105
|
-
executables:
|
106
|
-
- sentry_cli_path
|
105
|
+
executables: []
|
107
106
|
extensions: []
|
108
107
|
extra_rdoc_files: []
|
109
108
|
files:
|
@@ -114,7 +113,6 @@ files:
|
|
114
113
|
- bin/sentry-cli-Linux-x86_64
|
115
114
|
- bin/sentry-cli-Windows-i686.exe
|
116
115
|
- bin/sentry-cli-Windows-x86_64.exe
|
117
|
-
- bin/sentry_cli_path
|
118
116
|
- lib/fastlane/plugin/sentry.rb
|
119
117
|
- lib/fastlane/plugin/sentry/actions/sentry_check_cli_installed.rb
|
120
118
|
- lib/fastlane/plugin/sentry/actions/sentry_create_deploy.rb
|
data/bin/sentry_cli_path
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'os'
|
4
|
-
|
5
|
-
if OS.mac?
|
6
|
-
print File.join(__dir__, 'sentry-cli-Darwin-universal')
|
7
|
-
elsif OS.windows?
|
8
|
-
if OS.bits == 64
|
9
|
-
print File.join(__dir__, 'sentry-cli-Windows-x86_64.exe')
|
10
|
-
else
|
11
|
-
print File.join(__dir__, 'sentry-cli-Windows-i686.exe')
|
12
|
-
end
|
13
|
-
else
|
14
|
-
if OS.bits == 64
|
15
|
-
print File.join(__dir__, 'sentry-cli-Linux-x86_64')
|
16
|
-
else
|
17
|
-
print File.join(__dir__, 'sentry-cli-Linux-i686')
|
18
|
-
end
|
19
|
-
end
|