fastlane-plugin-sentry 1.0.3 → 1.0.4

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: c821bc672532e10d7009a4e294c5b3d2e146179b
4
- data.tar.gz: 301bd707207ddf7f1cb21a93effe4d76746f16a2
3
+ metadata.gz: cf9cb26bc2e7b56fa2fce4970cc350ef6dc6d490
4
+ data.tar.gz: 39f0986bc20407588207060eb07d60bb1894dcec
5
5
  SHA512:
6
- metadata.gz: eabd217f6b483b5ef7d69bfabba4d02601a9a5f3d3169d6121dea15bf1606581c5ac0f1063b4737280fa460437b36f100eb26cf48643425111b38f7d54053744
7
- data.tar.gz: 52dfa87197b298e46f76f13c6537fc2d43f22bcc768ab17b57b025533f27d17c615ac7826c076d5956f54be5f4a83d25b5589a8d93049b8f13e5ed1f8cdaebd6
6
+ metadata.gz: ea16d9baeb7ef7066cd413dfeb0e6c7126c1b3ffab67cca359275e8a607e1b6c54cc274cf11584e22c50aad3862bf8117c31579eac28bf9b5268f4a86c94624e
7
+ data.tar.gz: 7bbd51e5a73abc0623ff80f0fa4f15d3a9416a9d16b787c44de76db35545cff3df98301363573890af0eefd930fb37b964740a80956240f9ffe7f76980c2c71f
@@ -56,8 +56,8 @@ module Fastlane
56
56
  UI.user_error!("Install sentry-cli and start your lane again!")
57
57
  end
58
58
 
59
- sentry_cli_version = `sentry-cli --version`.gsub(/[^\d]/, '').to_i
60
- required_version = Fastlane::Sentry::CLI_VERSION.gsub(/[^\d]/, '').to_i
59
+ sentry_cli_version = Gem::Version.new(`sentry-cli --version`.scan(/(?:\d+\.?){3}/).first)
60
+ required_version = Gem::Version.new(Fastlane::Sentry::CLI_VERSION)
61
61
  if sentry_cli_version < required_version
62
62
  UI.user_error!("Your sentry-cli is outdated, please upgrade to at least version #{Fastlane::Sentry::CLI_VERSION} and start your lane again!")
63
63
  end
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Sentry
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  CLI_VERSION = "1.0.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.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz