fastlane 2.94.0.beta.20180426050049 → 2.94.0.beta.20180427050031

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: 0dc2308fd48bff85fe0bd5efbdb6fdcc25246fc1
4
- data.tar.gz: 954a3934b9e99a4b3f3b4c3715223ca7b0cc5d8a
3
+ metadata.gz: bfeebfd5c8d646a7597d2c5e49facabd04cd209a
4
+ data.tar.gz: a9eec73325f421f4330a8bc05afa5410f7ac34f0
5
5
  SHA512:
6
- metadata.gz: d74855863d7be32610b23fca788a37d160f9b75ab0396d434d41c2280a3cd8e866989d710b3cb858bc142a52d97edaa97ea524a8f7c5954787c95170f526ccb5
7
- data.tar.gz: a7e4b36252fc51f91dce352895d0e590f42fe4f378276ad79f84b2d502c1634ae98596b22158ff04c99c7733a0a396a59e9bed8848645122d346c6d7ae31c598
6
+ metadata.gz: 83e2cefa692c547c03b846505f64ebfd25751f49d0ebf25afbcd23bdffdd47d5adb73f5d5d7a29cfc4c384fde787d27a5561f0c710742ac0df330a8c1e59487e
7
+ data.tar.gz: 7509b9a0fc83a14ac78066b1be4e0e260e76e4c6b59001c0310551f45e7d3019f9edad40e0019f81101ce21fbf2193d664bb54bb677d3abbd3cac086965031e0
@@ -21,20 +21,24 @@ module Fastlane
21
21
  end
22
22
 
23
23
  def self.app_path(params, dir)
24
- ipa_path = params[:ipa_path] || Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || ''
25
- UI.user_error!("Unable to find ipa file '#{ipa_path}'.") unless File.exist?(ipa_path)
26
- ipa_path = File.expand_path(ipa_path)
27
-
28
- `unzip '#{ipa_path}' -d #{dir}`
29
- UI.user_error!("Unable to unzip ipa") unless $? == 0
30
-
31
- app_path = File.expand_path("#{dir}/Payload/*.app")
24
+ build_path = params[:ipa_path] || params[:build_path] || Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] || ''
25
+ UI.user_error!("Unable to find file '#{build_path}'") unless File.exist?(build_path)
26
+ build_path = File.expand_path(build_path)
27
+
28
+ if File.extname(build_path) =~ /\.(ipa|zip)/
29
+ `unzip #{build_path.shellescape} -d #{dir.shellescape} -x '__MACOSX/*' '*.DS_Store'`
30
+ UI.user_error!("Unable to unzip ipa") unless $? == 0
31
+ # Adding extra ** for edge-case ipas where Payload directory is nested.
32
+ app_path = Dir["#{dir}/**/Payload/*.app"].first
33
+ else
34
+ app_path = build_path
35
+ end
32
36
 
33
37
  app_path
34
38
  end
35
39
 
36
40
  def self.gather_cert_info(app_path)
37
- cert_info = `codesign -vv -d #{app_path} 2>&1`
41
+ cert_info = `codesign -vv -d #{app_path.shellescape} 2>&1`
38
42
  UI.user_error!("Unable to verify code signing") unless $? == 0
39
43
 
40
44
  values = {}
@@ -57,7 +61,7 @@ module Fastlane
57
61
  end
58
62
 
59
63
  def self.update_with_profile_info(app_path, values)
60
- profile = `cat #{app_path}/embedded.mobileprovision | security cms -D`
64
+ profile = `cat #{app_path.shellescape}/embedded.mobileprovision | security cms -D`
61
65
  UI.user_error!("Unable to extract profile") unless $? == 0
62
66
 
63
67
  plist = Plist.parse_xml(profile)
@@ -149,6 +153,12 @@ module Fastlane
149
153
  FastlaneCore::ConfigItem.new(key: :ipa_path,
150
154
  env_name: "FL_VERIFY_BUILD_IPA_PATH",
151
155
  description: "Explicitly set the ipa path",
156
+ conflicting_options: [:build_path],
157
+ optional: true),
158
+ FastlaneCore::ConfigItem.new(key: :build_path,
159
+ env_name: "FL_VERIFY_BUILD_BUILD_PATH",
160
+ description: "Explicitly set the ipa or app path",
161
+ conflicting_options: [:ipa_path],
152
162
  optional: true)
153
163
  ]
154
164
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.94.0.beta.20180426050049'.freeze
2
+ VERSION = '2.94.0.beta.20180427050031'.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
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.94.0.beta.20180426050049
4
+ version: 2.94.0.beta.20180427050031
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-04-26 00:00:00.000000000 Z
30
+ date: 2018-04-27 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1637,24 +1637,24 @@ metadata:
1637
1637
  post_install_message:
1638
1638
  rdoc_options: []
1639
1639
  require_paths:
1640
- - frameit/lib
1640
+ - screengrab/lib
1641
+ - match/lib
1641
1642
  - snapshot/lib
1642
- - fastlane/lib
1643
- - produce/lib
1644
1643
  - deliver/lib
1644
+ - produce/lib
1645
+ - scan/lib
1646
+ - fastlane_core/lib
1645
1647
  - sigh/lib
1646
1648
  - credentials_manager/lib
1647
- - gym/lib
1648
- - supply/lib
1649
- - spaceship/lib
1649
+ - frameit/lib
1650
1650
  - cert/lib
1651
1651
  - pilot/lib
1652
- - screengrab/lib
1653
- - fastlane_core/lib
1654
- - match/lib
1655
- - pem/lib
1656
- - scan/lib
1652
+ - spaceship/lib
1653
+ - fastlane/lib
1654
+ - gym/lib
1657
1655
  - precheck/lib
1656
+ - pem/lib
1657
+ - supply/lib
1658
1658
  required_ruby_version: !ruby/object:Gem::Requirement
1659
1659
  requirements:
1660
1660
  - - ">="