mirror of
https://github.com/flutter/flutter
synced 2024-09-13 21:32:11 +00:00
[conductor] Fix branch version to use framework branch (#103381)
This commit is contained in:
parent
1af8cc1183
commit
0bcdd8d89d
|
@ -194,10 +194,10 @@ class NextContext extends Context {
|
|||
previousCheckoutLocation: state.framework.checkoutPath,
|
||||
);
|
||||
stdio.printStatus('Writing candidate branch...');
|
||||
bool needsCommit = await framework.updateCandidateBranchVersion(state.releaseVersion);
|
||||
bool needsCommit = await framework.updateCandidateBranchVersion(state.framework.candidateBranch);
|
||||
if (needsCommit) {
|
||||
final String revision = await framework.commit(
|
||||
'Create candidate branch version ${state.engine.candidateBranch} for ${state.releaseChannel}',
|
||||
'Create candidate branch version ${state.framework.candidateBranch} for ${state.releaseChannel}',
|
||||
addFirst: true,
|
||||
);
|
||||
// append to list of cherrypicks so we know a PR is required
|
||||
|
|
|
@ -561,6 +561,7 @@ void main() {
|
|||
]);
|
||||
|
||||
expect(processManager, hasNoRemainingExpectations);
|
||||
expect(stdio.stdout, contains('release-candidate-branch.version containing $candidateBranch'));
|
||||
expect(stdio.stdout, contains('Updating engine revision from $oldEngineVersion to $revision1'));
|
||||
expect(stdio.stdout, contains('Are you ready to push your framework branch'));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue