fastlane 2.117.0.beta.20190209200055 → 2.117.0.beta.20190210200028

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: 2d74cfa960eabdae6d2bc11a158afe41b8c9e3e2
4
- data.tar.gz: 0a9034af3d8cd633093b02d189a32b3815d018e1
3
+ metadata.gz: f9fb558eeb1cfe7e5229bdef66e7307cceb26184
4
+ data.tar.gz: a1e1096442d4ba7c1e54015eb067508b1d8a843f
5
5
  SHA512:
6
- metadata.gz: 472d6a9588c7cafcbbe08f3c7f093b66b016d02f015a5316a84d6c138f0c29c46138d1518173188618cd162fa836b45e4b7a435bf9baa8d3c073923a6cd32f0c
7
- data.tar.gz: 6c0419a23b3bd644f43242aa9116c8c5904ffbc44452013b3f671ea646a39472e0b2ff982c9649fa6c47c773fdc67bd1dd6c48ec48715cbd68d4328acb9d28ac
6
+ metadata.gz: dda59e827f964e61180c464107976cb86abc8fc059edc1bf051eeafa486c6698108fefb9b1125d42b25162cead7406e8226a272c98dca8e731cd6fbafdbbb0eb
7
+ data.tar.gz: ae58b642705e79b4b75682c238c090befcacd207a66f9dce55a7181d2b706d62a1ec4410eeeb1118fa003d14b5383d8c0663e27f3cf9294c0df758acf39fab18
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.117.0.beta.20190209200055'.freeze
2
+ VERSION = '2.117.0.beta.20190210200028'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -169,6 +169,14 @@ module Match
169
169
  self.files_to_commit << private_key_path
170
170
  else
171
171
  cert_path = certs.last
172
+
173
+ # Check validity of certificate
174
+ if Utils.is_cert_valid?(cert_path)
175
+ UI.verbose("Your certificate '#{File.basename(cert_path)}' is valid")
176
+ else
177
+ UI.user_error!("Your certificate '#{File.basename(cert_path)}' is not valid, please check end date and renew it if necessary")
178
+ end
179
+
172
180
  if Helper.mac?
173
181
  UI.message("Installing certificate...")
174
182
 
@@ -58,6 +58,12 @@ module Match
58
58
  return {}
59
59
  end
60
60
 
61
+ def self.is_cert_valid?(cer_certificate_path)
62
+ cert = OpenSSL::X509::Certificate.new(File.binread(cer_certificate_path))
63
+ now = Time.now.utc
64
+ return (now <=> cert.not_after) == -1
65
+ end
66
+
61
67
  def self.base_environment_variable_name(app_identifier: nil, type: nil, platform: :ios)
62
68
  if platform.to_s == :ios.to_s
63
69
  ["sigh", app_identifier, type] # We keep the ios profiles without the platform for backwards compatibility
@@ -93,6 +93,7 @@ module Scan
93
93
  puts("")
94
94
 
95
95
  copy_simulator_logs
96
+ zip_build_products
96
97
 
97
98
  if result[:failures] > 0
98
99
  open_report
@@ -104,7 +105,6 @@ module Scan
104
105
  UI.test_failure!("Test execution failed. Exit status: #{tests_exit_status}")
105
106
  end
106
107
 
107
- zip_build_products
108
108
  open_report
109
109
  end
110
110
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.117.0.beta.20190209200055
4
+ version: 2.117.0.beta.20190210200028
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Halligon
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-02-09 00:00:00.000000000 Z
30
+ date: 2019-02-10 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1687,24 +1687,24 @@ metadata:
1687
1687
  post_install_message:
1688
1688
  rdoc_options: []
1689
1689
  require_paths:
1690
- - screengrab/lib
1691
- - cert/lib
1690
+ - fastlane/lib
1691
+ - sigh/lib
1692
1692
  - pilot/lib
1693
- - spaceship/lib
1694
- - gym/lib
1695
1693
  - fastlane_core/lib
1696
- - pem/lib
1697
- - deliver/lib
1698
- - fastlane/lib
1699
- - supply/lib
1700
- - frameit/lib
1694
+ - screengrab/lib
1701
1695
  - scan/lib
1702
- - produce/lib
1703
- - snapshot/lib
1704
1696
  - precheck/lib
1697
+ - frameit/lib
1698
+ - supply/lib
1699
+ - snapshot/lib
1700
+ - pem/lib
1705
1701
  - match/lib
1706
- - sigh/lib
1702
+ - spaceship/lib
1703
+ - gym/lib
1704
+ - cert/lib
1705
+ - deliver/lib
1707
1706
  - credentials_manager/lib
1707
+ - produce/lib
1708
1708
  required_ruby_version: !ruby/object:Gem::Requirement
1709
1709
  requirements:
1710
1710
  - - ">="