Unverified Commit d3418a5d authored by xster's avatar xster Committed by GitHub

Productionize the publishing Travis shard (#14714)

parent 7996d7fb
......@@ -14,9 +14,6 @@ matrix:
env: SHARD=analyze
- os: osx
env: SHARD=docs
# TODO(xster): remove this when we know it works on Travis.
allow_failures:
- env: SHARD=build_and_deploy_gallery
sudo: false
filter_secrets: false
......
......@@ -17,7 +17,9 @@ def flutterVersionComponents = flutterVersion.split(/[^0-9]+/)
int flutterVersionCode = Math.min(flutterVersionComponents[0].toInteger(), 20) * 100000000
flutterVersionCode += Math.min(flutterVersionComponents[1].toInteger(), 99) * 1000000
flutterVersionCode += Math.min(flutterVersionComponents[2].toInteger(), 999) * 1000
flutterVersionCode += Math.min(flutterVersionComponents[3]?.toInteger() ?: 0, 999)
if (flutterVersionComponents.length > 3) {
flutterVersionCode += Math.min(flutterVersionComponents[3].toInteger(), 999)
}
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
......
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