File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
11
11
export ANDROID_HOME=` pwd` /android-sdk
12
12
(cd examples/flutter_gallery; flutter build apk --release)
13
13
echo " Android Flutter Gallery built"
14
- if [ " $TRAVIS_PULL_REQUEST " = " false" ] ; then # TODO(xster): add back && [ "$TRAVIS_BRANCH" = "dev" ] after testing
14
+ if [[ " $TRAVIS_PULL_REQUEST " == " false" && ( " $TRAVIS_BRANCH " == " dev " || " $TRAVIS_BRANCH " == " beta " ) ]] ; then
15
15
echo " Deploying to Play Store..."
16
16
(cd examples/flutter_gallery/android; bundle install && bundle exec fastlane deploy_play_store)
17
17
else
@@ -21,7 +21,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
21
21
echo " Building Flutter Gallery for iOS..."
22
22
(cd examples/flutter_gallery; flutter build ios --release --no-codesign)
23
23
echo " iOS Flutter Gallery built"
24
- if [ " $TRAVIS_PULL_REQUEST " = " false" ] ; then # TODO(xster): add back && [ "$TRAVIS_BRANCH" = "dev" ] after testing
24
+ if [[ " $TRAVIS_PULL_REQUEST " == " false" && ( " $TRAVIS_BRANCH " == " dev " || " $TRAVIS_BRANCH " == " beta " ) ]] ; then
25
25
echo " Re-building with distribution profile and deploying to TestFlight..."
26
26
(cd examples/flutter_gallery/ios; bundle install && bundle exec fastlane build_and_deploy_testflight)
27
27
else
You can’t perform that action at this time.
0 commit comments