From 68db514ec058db327eb7871842b5235358ce5432 Mon Sep 17 00:00:00 2001 From: xster Date: Fri, 30 Mar 2018 19:48:51 -0700 Subject: [PATCH] Fix gallery build ruby script (#16121) * Fix gallery build ruby script * Also print a message when not deploying --- dev/bots/travis_script.sh | 1 + examples/flutter_gallery/ios/fastlane/Fastfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/bots/travis_script.sh b/dev/bots/travis_script.sh index 88bc5385bb..53fc948393 100755 --- a/dev/bots/travis_script.sh +++ b/dev/bots/travis_script.sh @@ -29,6 +29,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then else echo "Archiving with distribution profile..." (cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight) + echo "Archive is only deployed to TestFlight on tagged dev branch commits" fi else echo "Flutter Gallery is only deployed to the TestFlight on merged and tagged dev branch commits" diff --git a/examples/flutter_gallery/ios/fastlane/Fastfile b/examples/flutter_gallery/ios/fastlane/Fastfile index f689b64ab2..5862481fb5 100644 --- a/examples/flutter_gallery/ios/fastlane/Fastfile +++ b/examples/flutter_gallery/ios/fastlane/Fastfile @@ -73,7 +73,7 @@ platform :ios do |options| codesigning_identity: 'iPhone Distribution: Store Ladd (S8QB4VV633)', ) - if options[:upload] + if options && options[:upload] upload_to_testflight end end