The options hash param was on the wrong line (#16194)

This commit is contained in:
xster
2018-04-03 13:03:42 -07:00
committed by GitHub
parent d6be4f5553
commit a80d557bbf

View File

@@ -19,9 +19,9 @@ end
# rebuild the app by:
# 1- Signing using the publishing credentials; and
# 2- xcodebuild with archive option
platform :ios do |options|
platform :ios do
desc 'Push a new release to TestFlight'
lane :build_and_deploy_testflight do
lane :build_and_deploy_testflight do |options|
# Doesn't do anything when not on Travis.
setup_travis
@@ -73,7 +73,7 @@ platform :ios do |options|
codesigning_identity: 'iPhone Distribution: Store Ladd (S8QB4VV633)',
)
if options && options[:upload]
if options[:upload]
upload_to_testflight
end
end