mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
v1.12.13+hotfix.4 cherry-picks (#46632)
* f264d6c Allow plugins that don't support the Android platform * 55f0bdc Fix docker tag during upload as well
This commit is contained in:
parent
57f2df76d7
commit
fb60324e6f
@ -2,5 +2,8 @@
|
||||
|
||||
TAG="${CIRRUS_TAG:-latest}"
|
||||
|
||||
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
|
||||
# Convert "+" to "-" to make hotfix tags legal Docker tag names.
|
||||
# See https://docs.docker.com/engine/reference/commandline/tag/
|
||||
TAG=${TAG/+/-}
|
||||
|
||||
sudo docker push "gcr.io/flutter-cirrus/build-flutter-image:$TAG"
|
||||
|
||||
@ -353,7 +353,7 @@ class FlutterPlugin implements Plugin<Project> {
|
||||
return
|
||||
}
|
||||
Project dependencyProject = project.rootProject.findProject(":$pluginDependencyName")
|
||||
if (dependencyProject == null) {
|
||||
if (!dependencyProject.projectDir.exists() || dependencyProject == null) {
|
||||
return
|
||||
}
|
||||
// Wait for the Android plugin to load and add the dependency to the plugin project.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user