Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a8e0f768
Unverified
Commit
a8e0f768
authored
Mar 01, 2018
by
xster
Committed by
GitHub
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't push again on beta branch commit (#15001)
parent
b9a7f1b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
travis_script.sh
dev/bots/travis_script.sh
+2
-2
Fastfile
examples/flutter_gallery/android/fastlane/Fastfile
+1
-1
No files found.
dev/bots/travis_script.sh
View file @
a8e0f768
...
...
@@ -11,7 +11,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
export
ANDROID_HOME
=
`
pwd
`
/android-sdk
(
cd
examples/flutter_gallery
;
flutter build apk
--release
)
echo
"Android Flutter Gallery built"
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
&&
(
"
$TRAVIS_BRANCH
"
==
"dev"
||
"
$TRAVIS_BRANCH
"
==
"beta"
)
]]
;
then
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
&&
"
$TRAVIS_BRANCH
"
==
"dev"
]]
;
then
echo
"Deploying to Play Store..."
(
cd
examples/flutter_gallery/android
;
bundle
install
&&
bundle
exec
fastlane deploy_play_store
)
else
...
...
@@ -21,7 +21,7 @@ if [ "$SHARD" = "build_and_deploy_gallery" ]; then
echo
"Building Flutter Gallery for iOS..."
(
cd
examples/flutter_gallery
;
flutter build ios
--release
--no-codesign
)
echo
"iOS Flutter Gallery built"
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
&&
(
"
$TRAVIS_BRANCH
"
==
"dev"
||
"
$TRAVIS_BRANCH
"
==
"beta"
)
]]
;
then
if
[[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
&&
"
$TRAVIS_BRANCH
"
==
"dev"
]]
;
then
echo
"Re-building with distribution profile and deploying to TestFlight..."
(
cd
examples/flutter_gallery/ios
;
bundle
install
&&
bundle
exec
fastlane build_and_deploy_testflight
)
else
...
...
examples/flutter_gallery/android/fastlane/Fastfile
View file @
a8e0f768
...
...
@@ -11,7 +11,7 @@ platform :android do
lane :deploy_play_store do
begin
upload_to_play_store(
track:
ENV['TRAVIS_BRANCH'] == 'beta' ? 'beta' :
'alpha',
track: 'alpha',
apk: '../build/app/outputs/apk/release/app-release.apk',
json_key_data: ENV['GOOGLE_DEVELOPER_SERVICE_ACCOUNT_ACTOR_FASTLANE'],
skip_upload_screenshots: true,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment