Fix gallery build ruby script (#16121)
* Fix gallery build ruby script * Also print a message when not deploying
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user