Fix gallery build ruby script (#16121)

* Fix gallery build ruby script

* Also print a message when not deploying
This commit is contained in:
xster
2018-03-30 19:48:51 -07:00
committed by GitHub
parent c9e4ce7491
commit 68db514ec0
2 changed files with 2 additions and 1 deletions

View File

@@ -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"

View File

@@ -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