fastlane 2.96.0.beta.20180515050025 → 2.96.0.beta.20180516050022

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: f31d6e773f41f80e6340c279aae0b1d1e7dd979e
4
- data.tar.gz: 5f145bb5f1da9f560e8ae361f2c7ed1e589377a5
3
+ metadata.gz: 1b32821def63fa9dff946eab12f4f259ef9fc69b
4
+ data.tar.gz: bb1348aec86efd035166e666d27332de2910b079
5
5
  SHA512:
6
- metadata.gz: 957156098681579b7a694c5342edfea7b37043341de094ef2b2d72c1885fd1af6553e2a0e7f89d9f8b2cfd4e46d3b59e3fbd769dbaec87c3847df794421e3957
7
- data.tar.gz: 9e6c255f3f34c53aa086d5a10b40988c4236019a4e6aead08df68455430d79bad731357e7ff125a165505bf60d8a494dea8159c998e3e3384b051ea417afe23e
6
+ metadata.gz: 4bab32446969631b3caf345a5e88fb65837532803a0797ed9bd68cb14915881805a34eb74ed826ef11ef25700f569d2d1fed8fe389eaac17acbdfb84ab9b0277
7
+ data.tar.gz: 15a2b83a8cf776f5c6a050d659c29b7a6c6681801ace35b619d1a964518f282a3dbef35f410c95e5de4ea9e10798523b0f8715ea020c52ff92463f66b702f27d
@@ -6,6 +6,10 @@ require_relative 'appfile_config'
6
6
  module CredentialsManager
7
7
  class AccountManager
8
8
  DEFAULT_PREFIX = "deliver"
9
+
10
+ # Is used for iTunes Transporter
11
+ attr_reader :prefix
12
+
9
13
  # @param prefix [String] Very optional, is used for the
10
14
  # iTunes Transporter which uses application specific passwords
11
15
  # @param note [String] An optional note that will be shown next
@@ -46,7 +46,7 @@ module Fastlane
46
46
  rescue => exception
47
47
  UI.error("Exception: #{exception}")
48
48
  ensure
49
- result = results.first
49
+ result = results.first if results
50
50
  if !result.nil? && result.code.to_i == 200
51
51
  UI.success('Successfully sent Slack notification')
52
52
  else
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.96.0.beta.20180515050025'.freeze
2
+ VERSION = '2.96.0.beta.20180516050022'.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
@@ -59,6 +59,7 @@ module Frameit
59
59
  output_path = screenshot.path.gsub('.png', '_framed.png').gsub('.PNG', '_framed.png')
60
60
  image.format("png")
61
61
  image.write(output_path)
62
+ Helper.hide_loading_indicator
62
63
  UI.success("Added frame: '#{File.expand_path(output_path)}'")
63
64
  end
64
65
 
@@ -35,7 +35,7 @@ module Frameit
35
35
  next # we don't care about watches right now
36
36
  end
37
37
 
38
- UI.message("Framing screenshot '#{full_path}'")
38
+ Helper.show_loading_indicator("Framing screenshot '#{full_path}'")
39
39
 
40
40
  begin
41
41
  screenshot = Screenshot.new(full_path, color)
@@ -170,7 +170,16 @@ module Pilot
170
170
 
171
171
  if options[:groups] || options[:distribute_external]
172
172
  uploaded_build.beta_review_info.demo_account_required = options[:demo_account_required] # this needs to be set for iTC to continue
173
- uploaded_build.submit_for_testflight_review!
173
+ begin
174
+ uploaded_build.submit_for_testflight_review!
175
+ rescue => ex
176
+ # iTunes Connect currently may 504 on this request even though it manages to get the build in
177
+ # the approved state, this is a temporary workaround.
178
+ raise ex unless ex.to_s.include?("504")
179
+ UI.message("Submitting the build for review timed out, trying to recover.")
180
+ updated_build = Spaceship::TestFlight::Build.find(app_id: uploaded_build.app_id, build_id: uploaded_build.id)
181
+ raise ex unless updated_build.approved?
182
+ end
174
183
  end
175
184
 
176
185
  if options[:groups]
@@ -25,7 +25,11 @@ module Snapshot
25
25
  tee_command = ['tee']
26
26
  tee_command << '-a' if log_path && File.exist?(log_path)
27
27
  tee_command << log_path.shellescape if log_path
28
- return ["| #{tee_command.join(' ')} | xcpretty #{Snapshot.config[:xcpretty_args]}"]
28
+
29
+ xcpretty = "xcpretty #{Snapshot.config[:xcpretty_args]}"
30
+ xcpretty << "--no-color" if Helper.colors_disabled?
31
+
32
+ return ["| #{tee_command.join(' ')} | #{xcpretty}"]
29
33
  end
30
34
 
31
35
  def destination(devices)
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.96.0.beta.20180515050025
4
+ version: 2.96.0.beta.20180516050022
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-05-15 00:00:00.000000000 Z
30
+ date: 2018-05-16 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1651,24 +1651,24 @@ metadata:
1651
1651
  post_install_message:
1652
1652
  rdoc_options: []
1653
1653
  require_paths:
1654
- - pilot/lib
1655
- - scan/lib
1656
- - sigh/lib
1657
- - frameit/lib
1654
+ - fastlane_core/lib
1658
1655
  - precheck/lib
1659
- - fastlane/lib
1660
1656
  - credentials_manager/lib
1661
- - screengrab/lib
1662
- - match/lib
1663
- - snapshot/lib
1664
- - fastlane_core/lib
1665
- - deliver/lib
1666
- - produce/lib
1667
1657
  - supply/lib
1658
+ - cert/lib
1659
+ - deliver/lib
1660
+ - match/lib
1668
1661
  - gym/lib
1662
+ - frameit/lib
1669
1663
  - pem/lib
1670
- - cert/lib
1664
+ - snapshot/lib
1671
1665
  - spaceship/lib
1666
+ - pilot/lib
1667
+ - fastlane/lib
1668
+ - sigh/lib
1669
+ - screengrab/lib
1670
+ - produce/lib
1671
+ - scan/lib
1672
1672
  required_ruby_version: !ruby/object:Gem::Requirement
1673
1673
  requirements:
1674
1674
  - - ">="