fastlane 2.69.0.beta.20171205010003 → 2.69.0.beta.20171206010003
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea5a73fe4ecd48f828a975d2de5c8fa5d3c0d430
|
4
|
+
data.tar.gz: aefbffc7401c80cf217105f54e3fb54d595170fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29812f72c4d3108681fa774f5f6555784cbcfe445d5a7ee116f862192f6a197e6b6b0354f64971961a013cc298addde10dc2ef641d6140cac16ffa7b215c28bf
|
7
|
+
data.tar.gz: a1ebc40e736d82160e77bb7210d9c2bc3b4ad78f590e0b18e19efaad3a1f3699288b408463cc8952c4b44c62f840ae88823a2e8277d3d5718030fe71d3fecd77
|
@@ -61,7 +61,7 @@ module Fastlane
|
|
61
61
|
lane :beta do |values|
|
62
62
|
# Fabric generated this lane for deployment to Crashlytics Beta
|
63
63
|
# set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
|
64
|
-
|
64
|
+
build_app(scheme: '#{@beta_info.schemes.first}', export_method: '#{@beta_info.export_method}')
|
65
65
|
|
66
66
|
emails = values[:test_email] ? values[:test_email] : #{beta_info_emails} # You can list more emails here
|
67
67
|
groups = values[:test_email] ? nil : #{beta_info_groups} # You can define groups on the web and reference them here
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.69.0.beta.
|
2
|
+
VERSION = '2.69.0.beta.20171206010003'.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
|
@@ -417,11 +417,32 @@ module Spaceship
|
|
417
417
|
# This method is used for both the Apple Dev Portal and iTunes Connect
|
418
418
|
# This will also handle 2 step verification
|
419
419
|
def send_shared_login_request(user, password)
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
|
420
|
+
# Check if we have a cached/valid session here
|
421
|
+
# Fixes
|
422
|
+
# - https://github.com/fastlane/fastlane/issues/10812
|
423
|
+
# - https://github.com/fastlane/fastlane/issues/10793
|
424
|
+
#
|
425
|
+
# Before 4th December 2017 we didn't load existing session from the disk
|
426
|
+
# but changed it, because Apple introduced a rate limit, which is fine by itself
|
427
|
+
# but unfortunately it also rate limits successful logins, meaning if you call multiple
|
428
|
+
# tools in a lane (e.g. call match 5 times), this would mean it locks you out of the account
|
429
|
+
# for a while.
|
430
|
+
# By loading existing sessions and checking if they're valid, we're sending less login requests
|
431
|
+
# More context on why this change was necessary https://github.com/fastlane/fastlane/pull/11108
|
432
|
+
#
|
433
|
+
if load_session_from_file
|
434
|
+
# Check if the session is still valid here
|
435
|
+
begin
|
436
|
+
# We use the olympus session to determine if the old session is still valid
|
437
|
+
# As this will raise an exception if the old session has expired
|
438
|
+
# If the old session is still valid, we don't have to do anything else in this method
|
439
|
+
return true if fetch_olympus_session.count > 0
|
440
|
+
rescue
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
424
444
|
# If this is a CI, the user can pass the session via environment variable
|
445
|
+
# This is used for 2FA related sessions
|
425
446
|
load_session_from_env
|
426
447
|
|
427
448
|
data = {
|
@@ -109,7 +109,11 @@ module Spaceship
|
|
109
109
|
|
110
110
|
def send_login_request(user, password)
|
111
111
|
clear_user_cached_data
|
112
|
-
send_shared_login_request(user, password)
|
112
|
+
result = send_shared_login_request(user, password)
|
113
|
+
|
114
|
+
store_cookie
|
115
|
+
|
116
|
+
return result
|
113
117
|
end
|
114
118
|
|
115
119
|
# Sometimes we get errors or info nested in our data
|
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.69.0.beta.
|
4
|
+
version: 2.69.0.beta.20171206010003
|
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-12-
|
18
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|