Revert "Let travis test archiving per commit too" (#16050)

* Revert "Roll engine to 6473f1b106485cb0b4ea569af383173daeef8895 (#16032)"

This reverts commit 844ced010a19e7375e246f6d3f001bdc0d7305fd.

* Revert "Let travis test archiving per commit too (#16004)"

This reverts commit df5905f3823acaf5596bad909d27a66b3b5f9c70.
This commit is contained in:
xster 2018-03-28 18:31:27 -07:00 committed by GitHub
parent 844ced010a
commit fb37bd1323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 12 deletions

View File

@ -22,14 +22,9 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
echo "Building Flutter Gallery for iOS..." echo "Building Flutter Gallery for iOS..."
(cd examples/flutter_gallery; flutter build ios --release --no-codesign) (cd examples/flutter_gallery; flutter build ios --release --no-codesign)
echo "iOS Flutter Gallery built" echo "iOS Flutter Gallery built"
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "dev" && $version != *"pre"* ]]; then
if [[ "$TRAVIS_BRANCH" == "dev" && $version != *"pre"* ]]; then echo "Re-building with distribution profile and deploying to TestFlight..."
echo "Archiving with distribution profile and deploying to TestFlight..." (cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight)
(cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight upload:true)
else
echo "Archiving with distribution profile..."
(cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight)
fi
else else
echo "Flutter Gallery is only deployed to the TestFlight on merged and tagged dev branch commits" echo "Flutter Gallery is only deployed to the TestFlight on merged and tagged dev branch commits"
fi fi

View File

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