fastlane 2.29.0.beta.20170427010043 → 2.29.0.beta.20170428010037

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: 938e4b0dc6e8d5661b43c1531faf76e43f329083
4
- data.tar.gz: 54895c188864c896e72c6d069b3616ee7d463707
3
+ metadata.gz: 91292cdc784ec6198bd0d2a0cbaa343ff7a62fce
4
+ data.tar.gz: 4fb2fd2ae65ac1fba0c3015468609d0bc448cb13
5
5
  SHA512:
6
- metadata.gz: 216e8a1d0cb1b25c7277b8ccff5b92760eb3aefa32806df6058cc7a66fbc76f670389cb6df8f9a7d33b42bb19f6437269132929f181875b915c6f95d7d22566d
7
- data.tar.gz: e4b3a5b1aa6517630e4bdc484ad675d3efa2a04832b82a1d8bd55eac71a5cca0f54c786df10790ec2bc9ce86ebc1541ecee796b53a161194745e49244e203538
6
+ metadata.gz: 07fbb942966c1500d299723dc9c810861112141456aeb4c2b12a2f7f637e8d72b184f2fb0cb76872a5b0424671d63279675e842995354fea1913468f88d3bf66
7
+ data.tar.gz: 49ac45ad4577e1e7be85705b42cb9e125f594eb854f609ad54d35926e38216adb657331147de71fc5b451ce53503bcc86b7b87d08c6592cc16e73187ff2cfe06
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.29.0.beta.20170427010043'.freeze
2
+ VERSION = '2.29.0.beta.20170428010037'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -37,15 +37,20 @@ module Pilot
37
37
  UI.message("If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option")
38
38
  latest_build = FastlaneCore::BuildWatcher.wait_for_build_processing_to_be_complete(app_id: app.apple_id, platform: platform)
39
39
 
40
- distribute(options, latest_build)
40
+ distribute(options, build: latest_build)
41
41
  end
42
42
 
43
- def distribute(options, build)
43
+ def distribute(options, build: nil)
44
44
  start(options)
45
45
  if config[:apple_id].to_s.length == 0 and config[:app_identifier].to_s.length == 0
46
46
  config[:app_identifier] = UI.input("App Identifier: ")
47
47
  end
48
48
 
49
+ build ||= Spaceship::TestFlight::Build.latest(app_id: app.apple_id, platform: fetch_app_platform)
50
+ if build.nil?
51
+ UI.user_error!("No build to distribute!")
52
+ end
53
+
49
54
  if should_update_build_information(options)
50
55
  build.update_build_information!(whats_new: options[:changelog], description: options[:beta_app_description], feedback_email: options[:beta_app_feedback_email])
51
56
  UI.success "Successfully set the changelog and/or description for build"
@@ -67,7 +67,8 @@ module Spaceship::TestFlight
67
67
  BUILD_STATES = {
68
68
  processing: 'testflight.build.state.processing',
69
69
  active: 'testflight.build.state.testing.active',
70
- ready: 'testflight.build.state.submit.ready',
70
+ ready_to_submit: 'testflight.build.state.submit.ready',
71
+ ready_to_test: 'testflight.build.state.testing.ready',
71
72
  export_compliance_missing: 'testflight.build.state.export.compliance.missing'
72
73
  }
73
74
 
@@ -110,7 +111,11 @@ module Spaceship::TestFlight
110
111
  end
111
112
 
112
113
  def ready_to_submit?
113
- external_state == BUILD_STATES[:ready]
114
+ external_state == BUILD_STATES[:ready_to_submit]
115
+ end
116
+
117
+ def ready_to_test?
118
+ external_state == BUILD_STATES[:ready_to_test]
114
119
  end
115
120
 
116
121
  def active?
@@ -166,6 +171,7 @@ module Spaceship::TestFlight
166
171
  end
167
172
 
168
173
  def submit_for_testflight_review!
174
+ return if ready_to_test?
169
175
  client.post_for_testflight_review(app_id: app_id, build_id: id, build: self)
170
176
  end
171
177
 
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.29.0.beta.20170427010043
4
+ version: 2.29.0.beta.20170428010037
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-04-27 00:00:00.000000000 Z
18
+ date: 2017-04-28 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -1342,23 +1342,23 @@ metadata:
1342
1342
  post_install_message:
1343
1343
  rdoc_options: []
1344
1344
  require_paths:
1345
- - snapshot/lib
1346
- - gym/lib
1347
- - scan/lib
1345
+ - frameit/lib
1346
+ - deliver/lib
1348
1347
  - spaceship/lib
1349
- - credentials_manager/lib
1350
- - fastlane/lib
1351
- - pem/lib
1348
+ - supply/lib
1349
+ - screengrab/lib
1350
+ - cert/lib
1351
+ - pilot/lib
1352
1352
  - sigh/lib
1353
- - fastlane_core/lib
1353
+ - scan/lib
1354
+ - credentials_manager/lib
1355
+ - snapshot/lib
1354
1356
  - match/lib
1355
- - pilot/lib
1357
+ - pem/lib
1358
+ - fastlane/lib
1356
1359
  - produce/lib
1357
- - deliver/lib
1358
- - frameit/lib
1359
- - cert/lib
1360
- - screengrab/lib
1361
- - supply/lib
1360
+ - gym/lib
1361
+ - fastlane_core/lib
1362
1362
  required_ruby_version: !ruby/object:Gem::Requirement
1363
1363
  requirements:
1364
1364
  - - ">="