fastlane-plugin-sentry 1.13.1.pre.beta.0 → 1.14.0

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
  SHA256:
3
- metadata.gz: dbb6718d10cb3544d7a59938e495fb81ae71e49725408af57d3f01f0b01de511
4
- data.tar.gz: bd336c947109178a4fe54976e3e4f2cba8603d0b52c6e71f6c8b2458aed04f73
3
+ metadata.gz: 745bf8fab50902d7534e3092ce91c6160dc271c719e2047b205c66fd946a3847
4
+ data.tar.gz: f6d4bee0a4f71a848c39ae0f02fa061955f87105105fea93849c385789166981
5
5
  SHA512:
6
- metadata.gz: 99676edd079624cfd3230437133d45a4cb81b9761067e364963bc3ffada9680396a8bddfedfd00a948ab5f75b8a3e9233d62193971c3413a78ab9831f3317d08
7
- data.tar.gz: 582644f1cc54c16b7b1f9d11f1a004437c5a2e778eece5d8420f29cc460584f36d816287b90afe0d60737ba99041f356ef3e3c1b4e941e35d3fc2999fe4030d3
6
+ metadata.gz: 8a3896dc4e7981b4b5a5060ba59ba6c3bec0e623efe8d2165a5608dd39770fab39c9978e3c4508806360fe1b8fa3cd7b7e9b9ac69b395f2c8c60111614dc6eef
7
+ data.tar.gz: 400ebc2a4d747aa9e8ca4ef4b80adc3744e0a6ee007a721009ba257feaa371cdf9122d5044f15061b78aa1119a13562a7bf27f63917d6d9f6ad0794e8401355f
Binary file
Binary file
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 = `bundle exec 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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.13.1-beta.0"
3
+ VERSION = "1.14.0"
4
4
  end
5
5
  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.13.1.pre.beta.0
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-09-20 00:00:00.000000000 Z
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
@@ -144,9 +142,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
142
  version: 2.6.0
145
143
  required_rubygems_version: !ruby/object:Gem::Requirement
146
144
  requirements:
147
- - - ">"
145
+ - - ">="
148
146
  - !ruby/object:Gem::Version
149
- version: 1.3.1
147
+ version: '0'
150
148
  requirements: []
151
149
  rubygems_version: 3.1.6
152
150
  signing_key:
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