fastlane 2.120.0 → 2.121.0.beta.20190410200018

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: 0ef2c55dc80f08a06f973a22f3497f780c98f071
4
- data.tar.gz: e55e8f9723433c7179e5c2ba711e249c7c6f7a13
3
+ metadata.gz: 944b42560f63a35982be290171df29623bcfb83f
4
+ data.tar.gz: 0345a2876b8aaea072ea8498dd7afb2cfd217ed6
5
5
  SHA512:
6
- metadata.gz: 7579b03ba7dea736f98b6107e01628849d0748763f1191c741cc7c76aa002f367907598135823a71f62b07552fc1e385a04817546077791cb3b31eda5c4f4e30
7
- data.tar.gz: be2d8ae35276ec9ac10ddeab361b0db8467e1f4e034eb19f52cd3b737e8379f71e7c62f83c65caf07e4a1c94898e1f38098b4f1e28220ed18055e24c18bc6efb
6
+ metadata.gz: 7c70dcd310f9b82d90e519c0601b7c6db1293533a7c4dbfbbe195a82b6a20ec5bba183850be15e34a674e2c6899bfa8240154572aa31bb74b240acf7030cf298
7
+ data.tar.gz: fc46f097bf8e3d85578d7d382d62bd67e228e26e1214cd930b54db1e874f3ebe0688d1d6b72482d813242b2f3d1dd007854f22ed9cffc393788d8247ccf5072f
@@ -29,8 +29,9 @@ module Deliver
29
29
  UI.success("Successfully submitted the app for review!")
30
30
  end
31
31
 
32
- def select_build(options)
32
+ private def select_build(options)
33
33
  app = options[:app]
34
+ app_version = options[:app_version]
34
35
  v = app.edit_version(platform: options[:platform])
35
36
 
36
37
  if options[:build_number] && options[:build_number] != "latest"
@@ -41,9 +42,9 @@ module Deliver
41
42
  end
42
43
  else
43
44
  UI.message("Selecting the latest build...")
44
- build = wait_for_build(app)
45
+ build = wait_for_build(app, app_version)
45
46
  end
46
- UI.message("Selecting build #{build.train_version} (#{build.build_version})...")
47
+ UI.message("Selecting build #{app_version} (#{build.build_version})...")
47
48
 
48
49
  v.select_build(build)
49
50
  v.save!
@@ -51,7 +52,7 @@ module Deliver
51
52
  UI.success("Successfully selected build")
52
53
  end
53
54
 
54
- def wait_for_build(app)
55
+ def wait_for_build(app, app_version)
55
56
  UI.user_error!("Could not find app with app identifier") unless app
56
57
 
57
58
  start = Time.now
@@ -73,17 +74,23 @@ module Deliver
73
74
  end
74
75
 
75
76
  latest_build = find_build(candidate_builds)
77
+
78
+ # if the app version isn't present in the hash (could happen if we are waiting for submission, but didn't provide
79
+ # it explicitly and no ipa was passed to grab it from), then fall back to the best guess, which is the train_version
80
+ # of the most recently uploaded build
81
+ app_version ||= latest_build.train_version
82
+
76
83
  # Sometimes latest build will disappear and a different build would get selected
77
84
  # Only set build if no latest build found or if same build versions as previously fetched build
78
85
  # Issue: https://github.com/fastlane/fastlane/issues/10945
79
- if build.nil? || (latest_build && latest_build.train_version == build.train_version && latest_build.build_version == build.build_version)
86
+ if build.nil? || (latest_build && latest_build.build_version == build.build_version && latest_build.train_version == app_version)
80
87
  build = latest_build
81
88
  end
82
89
 
83
90
  return build if build && build.processing == false
84
91
 
85
92
  if build
86
- UI.message("Waiting App Store Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while...")
93
+ UI.message("Waiting App Store Connect processing for build #{app_version} (#{build.build_version})... this might take a while...")
87
94
  else
88
95
  UI.message("Waiting App Store Connect processing for build... this might take a while...")
89
96
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.120.0'.freeze
2
+ VERSION = '2.121.0.beta.20190410200018'.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.120.0
4
+ version: 2.121.0.beta.20190410200018
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kohki Miki
@@ -966,8 +966,6 @@ files:
966
966
  - fastlane/lib/fastlane.rb
967
967
  - fastlane/lib/fastlane/action.rb
968
968
  - fastlane/lib/fastlane/action_collector.rb
969
- - fastlane/lib/fastlane/actions/.slack.rb.swp
970
- - fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
971
969
  - fastlane/lib/fastlane/actions/README.md
972
970
  - fastlane/lib/fastlane/actions/actions_helper.rb
973
971
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1289,7 +1287,6 @@ files:
1289
1287
  - fastlane/swift/Fastlane.swift
1290
1288
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
1291
1289
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
1292
- - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
1293
1290
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
1294
1291
  - fastlane/swift/FastlaneSwiftRunner/README.txt
1295
1292
  - fastlane/swift/Gymfile.swift
@@ -1572,7 +1569,6 @@ files:
1572
1569
  - spaceship/lib/spaceship/client.rb
1573
1570
  - spaceship/lib/spaceship/commands_generator.rb
1574
1571
  - spaceship/lib/spaceship/connect_api.rb
1575
- - spaceship/lib/spaceship/connect_api/.DS_Store
1576
1572
  - spaceship/lib/spaceship/connect_api/base.rb
1577
1573
  - spaceship/lib/spaceship/connect_api/client.rb
1578
1574
  - spaceship/lib/spaceship/du/du_client.rb
@@ -1605,7 +1601,6 @@ files:
1605
1601
  - spaceship/lib/spaceship/portal/provisioning_profile.rb
1606
1602
  - spaceship/lib/spaceship/portal/provisioning_profile_template.rb
1607
1603
  - spaceship/lib/spaceship/portal/spaceship.rb
1608
- - spaceship/lib/spaceship/portal/ui/.select_team.rb.swp
1609
1604
  - spaceship/lib/spaceship/portal/ui/select_team.rb
1610
1605
  - spaceship/lib/spaceship/portal/website_push.rb
1611
1606
  - spaceship/lib/spaceship/provider.rb
@@ -1693,24 +1688,24 @@ metadata:
1693
1688
  post_install_message:
1694
1689
  rdoc_options: []
1695
1690
  require_paths:
1696
- - credentials_manager/lib
1697
- - pem/lib
1698
- - snapshot/lib
1699
- - frameit/lib
1700
- - match/lib
1701
- - fastlane_core/lib
1702
1691
  - deliver/lib
1703
- - scan/lib
1704
- - supply/lib
1705
- - cert/lib
1706
- - fastlane/lib
1707
- - spaceship/lib
1708
- - pilot/lib
1692
+ - match/lib
1693
+ - pem/lib
1709
1694
  - gym/lib
1695
+ - pilot/lib
1710
1696
  - precheck/lib
1697
+ - supply/lib
1711
1698
  - screengrab/lib
1712
- - sigh/lib
1699
+ - credentials_manager/lib
1700
+ - scan/lib
1701
+ - fastlane/lib
1713
1702
  - produce/lib
1703
+ - frameit/lib
1704
+ - sigh/lib
1705
+ - snapshot/lib
1706
+ - spaceship/lib
1707
+ - cert/lib
1708
+ - fastlane_core/lib
1714
1709
  required_ruby_version: !ruby/object:Gem::Requirement
1715
1710
  requirements:
1716
1711
  - - ">="
@@ -1718,12 +1713,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1718
1713
  version: 2.0.0
1719
1714
  required_rubygems_version: !ruby/object:Gem::Requirement
1720
1715
  requirements:
1721
- - - ">="
1716
+ - - ">"
1722
1717
  - !ruby/object:Gem::Version
1723
- version: '0'
1718
+ version: 1.3.1
1724
1719
  requirements: []
1725
1720
  rubyforge_project:
1726
- rubygems_version: 2.5.2.3
1721
+ rubygems_version: 2.6.8
1727
1722
  signing_key:
1728
1723
  specification_version: 4
1729
1724
  summary: The easiest way to automate beta deployments and releases for your iOS and