fastlane 2.26.0.beta.20170404010022 → 2.26.0.beta.20170405010026
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17be4a2c23e72d56ce89e0c1b3d8468d85c331c8
|
4
|
+
data.tar.gz: b7f76e0d40ca24d39f4f6735c6d7015d3d123c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578ad3636f0d993d4ef8842c545d960a64a465f4b77098bd6e5e20bcdeae37cea6e695f637c7febd9a2a443e74e433364fed1ba19bc21c1a27af7e082e54590f
|
7
|
+
data.tar.gz: b883c4f33ea622046ece8b7d402e4aa37a08e5275909ca29907b2e597997541950127e9c9dc39049a59cc7a7eb66c7d38f06b685420899afd1ff8a405fd0def9
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module Fastlane
|
2
2
|
module Actions
|
3
3
|
class CarthageAction < Action
|
4
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
4
5
|
def self.run(params)
|
5
6
|
validate(params)
|
6
7
|
|
@@ -26,9 +27,11 @@ module Fastlane
|
|
26
27
|
cmd << "--derived-data #{params[:derived_data].shellescape}" if params[:derived_data]
|
27
28
|
cmd << "--toolchain #{params[:toolchain]}" if params[:toolchain]
|
28
29
|
cmd << "--project-directory #{params[:project_directory]}" if params[:project_directory]
|
30
|
+
cmd << "--cache-builds" if params[:cache_builds]
|
29
31
|
|
30
32
|
Actions.sh(cmd.join(' '))
|
31
33
|
end
|
34
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
32
35
|
|
33
36
|
def self.validate(params)
|
34
37
|
command_name = params[:command]
|
@@ -127,6 +130,11 @@ module Fastlane
|
|
127
130
|
UI.user_error!("Please pass a valid platform. Use one of the following: #{available_platforms.join(', ')}") unless available_platforms.map(&:downcase).include?(platform.downcase)
|
128
131
|
end
|
129
132
|
end),
|
133
|
+
FastlaneCore::ConfigItem.new(key: :cache_builds,
|
134
|
+
env_name: "FL_CARTHAGE_CACHE_BUILDS",
|
135
|
+
description: "By default Carthage will rebuild a dependency regardless of whether it's the same resolved version as before. Passing the --cache-builds will cause carthage to avoid rebuilding a dependency if it can",
|
136
|
+
is_string: false,
|
137
|
+
default_value: false),
|
130
138
|
FastlaneCore::ConfigItem.new(key: :frameworks,
|
131
139
|
description: "Framework name or names to archive, could be applied only along with the archive command",
|
132
140
|
default_value: [],
|
@@ -175,6 +183,7 @@ module Fastlane
|
|
175
183
|
verbose: false, # Print xcodebuild output inline
|
176
184
|
platform: "all", # Define which platform to build for (one of ‘all’, ‘Mac’, ‘iOS’, ‘watchOS’, ‘tvOS‘, or comma-separated values of the formers except for ‘all’)
|
177
185
|
configuration: "Release", # Build configuration to use when building
|
186
|
+
cache_builds: true, # By default Carthage will rebuild a dependency regardless of whether its the same resolved version as before.
|
178
187
|
toolchain: "com.apple.dt.toolchain.Swift_2_3" # Specify the xcodebuild toolchain
|
179
188
|
)'
|
180
189
|
]
|
@@ -123,7 +123,14 @@ module Fastlane
|
|
123
123
|
# Lane chooser if user didn't provide a lane
|
124
124
|
# @param platform: is probably nil, but user might have called `fastlane android`, and only wants to list those actions
|
125
125
|
def self.choose_lane(ff, platform)
|
126
|
-
available =
|
126
|
+
available = []
|
127
|
+
|
128
|
+
# nil is the key for lanes that are not under a specific platform
|
129
|
+
lane_platforms = [nil] + Fastlane::SupportedPlatforms.all
|
130
|
+
lane_platforms.each do |p|
|
131
|
+
available += ff.runner.lanes[p].to_a.reject { |lane| lane.last.is_private }
|
132
|
+
end
|
133
|
+
|
127
134
|
if available.empty?
|
128
135
|
UI.user_error! "It looks like you don't have any lanes to run just yet. Check out how to get started here: https://github.com/fastlane/fastlane 🚀"
|
129
136
|
end
|
data/pilot/lib/pilot/options.rb
CHANGED
@@ -61,7 +61,7 @@ module Pilot
|
|
61
61
|
FastlaneCore::ConfigItem.new(key: :skip_waiting_for_build_processing,
|
62
62
|
short_option: "-z",
|
63
63
|
env_name: "PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING",
|
64
|
-
description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work",
|
64
|
+
description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work and no build will be distributed to testers",
|
65
65
|
is_string: false,
|
66
66
|
default_value: false),
|
67
67
|
FastlaneCore::ConfigItem.new(key: :update_build_info_on_upload,
|
@@ -45,8 +45,14 @@ module Spaceship
|
|
45
45
|
def handle_two_factor(response)
|
46
46
|
two_factor_url = "https://github.com/fastlane/fastlane/tree/master/spaceship#2-step-verification"
|
47
47
|
puts "Two Factor Authentication for account '#{self.user}' is enabled"
|
48
|
-
|
49
|
-
|
48
|
+
|
49
|
+
if !File.exist?(persistent_cookie_path) && self.class.spaceship_session_env.to_s.length.zero?
|
50
|
+
puts "If you're running this in a non-interactive session (e.g. server or CI)"
|
51
|
+
puts "check out #{two_factor_url}"
|
52
|
+
else
|
53
|
+
# If the cookie is set but still required, the cookie is expired
|
54
|
+
puts "Your session cookie has been expired."
|
55
|
+
end
|
50
56
|
|
51
57
|
security_code = response.body["securityCode"]
|
52
58
|
# {"length"=>6,
|
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.26.0.beta.
|
4
|
+
version: 2.26.0.beta.20170405010026
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2017-04-
|
17
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slack-notifier
|
@@ -1298,22 +1298,22 @@ post_install_message:
|
|
1298
1298
|
rdoc_options: []
|
1299
1299
|
require_paths:
|
1300
1300
|
- sigh/lib
|
1301
|
-
-
|
1302
|
-
-
|
1301
|
+
- spaceship/lib
|
1302
|
+
- pem/lib
|
1303
1303
|
- match/lib
|
1304
|
-
- deliver/lib
|
1305
|
-
- frameit/lib
|
1306
|
-
- cert/lib
|
1307
|
-
- scan/lib
|
1308
|
-
- pilot/lib
|
1309
1304
|
- fastlane/lib
|
1310
|
-
-
|
1311
|
-
-
|
1305
|
+
- pilot/lib
|
1306
|
+
- screengrab/lib
|
1307
|
+
- frameit/lib
|
1308
|
+
- gym/lib
|
1312
1309
|
- produce/lib
|
1313
|
-
-
|
1314
|
-
-
|
1310
|
+
- supply/lib
|
1311
|
+
- scan/lib
|
1315
1312
|
- fastlane_core/lib
|
1316
|
-
-
|
1313
|
+
- credentials_manager/lib
|
1314
|
+
- snapshot/lib
|
1315
|
+
- deliver/lib
|
1316
|
+
- cert/lib
|
1317
1317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1318
1318
|
requirements:
|
1319
1319
|
- - ">="
|