message: Make sure to return an exitCode.
diff: @@ -49,10 +49,12 @@ export async function runPatchBuild(options) {
  installDependencies(); // this might modify a lockfile
  log.info('Starting patch build...');
  - await runTest({ ...options, forceBranchName: baseRef });
  + const result = await runTest({ ...options, forceBranchName: baseRef });
  log.info('Patch build completed.');
  + return result;
  } catch (e) {
  log.error(e);
  + return { exitCode: 255 };
  } finally {
  log.info('Restoring workspace...');
  await discardChanges(); // we need a clean state before checkout
  