[flutter_conductor] Fix conductor start branch point (#100170)

This commit is contained in:
Christopher Fujino
2022-03-15 19:20:17 -07:00
committed by GitHub
parent 6f6b5647f5
commit 7a60b6eea6
2 changed files with 9 additions and 6 deletions

View File

@@ -397,7 +397,10 @@ class StartContext extends Context {
));
final String frameworkHead = await framework.reverseParse('HEAD');
final String branchPoint = await framework.branchPoint(candidateBranch, FrameworkRepository.defaultBranch);
final String branchPoint = await framework.branchPoint(
'${framework.upstreamRemote.name}/$candidateBranch',
'${framework.upstreamRemote.name}/${FrameworkRepository.defaultBranch}',
);
final bool atBranchPoint = branchPoint == frameworkHead;
final ReleaseType releaseType = computeReleaseType(lastVersion, atBranchPoint);