Unverified Commit 68db514e authored by xster's avatar xster Committed by GitHub

Fix gallery build ruby script (#16121)

* Fix gallery build ruby script

* Also print a message when not deploying
parent c9e4ce74
......@@ -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"
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment