Skip to content

Commit

Permalink
fix(release): Handle released dependency bumps (#14669)
Browse files Browse the repository at this point in the history
The build tools did not handle the case where a pre-release dependency
needs to be bumped. I re-used an existing prompt handler as a quick fix.
If needed we can follow up with a better change.
  • Loading branch information
tylerbutler authored Mar 21, 2023
1 parent 81a546b commit d33bee7
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ export class FluidReleaseStateHandler extends InitFailedStateHandler {
break;
}

case "PromptToPRDeps": {
case "PromptToPRDeps":
case "PromptToPRReleasedDepsBump": {
result = await promptToPRDeps(state, machine, testMode, log, data);
break;
}
Expand All @@ -343,17 +344,6 @@ export class FluidReleaseStateHandler extends InitFailedStateHandler {
break;
}

case "PromptToPRReleasedDepsBump": {
if (testMode) return true;

log.errorLog(`Not yet implemented`);
if (data.exitFunc !== undefined) {
data.exitFunc(101);
}

break;
}

case "PromptToRunMinorReleaseCommand": {
result = await promptToRunMinorReleaseCommand(state, machine, testMode, log, data);
break;
Expand Down

0 comments on commit d33bee7

Please sign in to comment.