[conductor] Roll engine->flutter whenever version is out of date (#121502)

[conductor] Roll engine whenever version is out of date
This commit is contained in:
Casey Hillers
2023-03-03 10:10:09 -08:00
committed by GitHub
parent cc26a1aa0c
commit 22e33275b5
2 changed files with 59 additions and 30 deletions

View File

@@ -160,20 +160,6 @@ class NextContext extends Context {
}
break;
case pb.ReleasePhase.APPLY_FRAMEWORK_CHERRYPICKS:
if (state.engine.cherrypicks.isEmpty && state.engine.dartRevision.isEmpty) {
stdio.printStatus(
'This release has no engine cherrypicks, and thus the engine.version file\n'
'in the framework does not need to be updated.',
);
if (state.framework.cherrypicks.isEmpty) {
stdio.printStatus(
'This release also has no framework cherrypicks. Therefore, a framework\n'
'pull request is not required.',
);
break;
}
}
final Remote engineUpstreamRemote = Remote(
name: RemoteName.upstream,
url: state.engine.upstream.url,