@rubytech/taskmaster 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/build-info.json
CHANGED
|
@@ -278,8 +278,8 @@ export async function runGatewayUpdate(opts = {}) {
|
|
|
278
278
|
const branch = channel === "dev" ? await readBranchName(runCommand, gitRoot, timeoutMs) : null;
|
|
279
279
|
const needsCheckoutMain = channel === "dev" && branch !== DEV_BRANCH;
|
|
280
280
|
// Steps: clean check + [checkout main] + upstream check + fetch + rebase/checkout
|
|
281
|
-
// + install + build + ui:build +
|
|
282
|
-
gitTotalSteps = channel === "dev" ? (needsCheckoutMain ?
|
|
281
|
+
// + install + build + ui:build + doctor + rev-parse
|
|
282
|
+
gitTotalSteps = channel === "dev" ? (needsCheckoutMain ? 9 : 8) : 8;
|
|
283
283
|
const statusCheck = await runStep(step("clean check", ["git", "-C", gitRoot, "status", "--porcelain", "-uno", "--", ":!dist/control-ui/"], gitRoot));
|
|
284
284
|
steps.push(statusCheck);
|
|
285
285
|
const hasUncommittedChanges = statusCheck.stdoutTail && statusCheck.stdoutTail.trim().length > 0;
|
|
@@ -407,10 +407,6 @@ export async function runGatewayUpdate(opts = {}) {
|
|
|
407
407
|
steps.push(buildStep);
|
|
408
408
|
const uiBuildStep = await runStep(step("ui:build", managerScriptArgs(manager, "ui:build"), gitRoot));
|
|
409
409
|
steps.push(uiBuildStep);
|
|
410
|
-
// Restore dist/control-ui/ to committed state to prevent dirty repo after update
|
|
411
|
-
// (ui:build regenerates assets with new hashes, which would block future updates)
|
|
412
|
-
const restoreUiStep = await runStep(step("restore control-ui", ["git", "-C", gitRoot, "checkout", "--", "dist/control-ui/"], gitRoot));
|
|
413
|
-
steps.push(restoreUiStep);
|
|
414
410
|
const doctorStep = await runStep(step("taskmaster doctor", managerScriptArgs(manager, "taskmaster", ["doctor", "--non-interactive"]), gitRoot, { TASKMASTER_UPDATE_IN_PROGRESS: "1" }));
|
|
415
411
|
steps.push(doctorStep);
|
|
416
412
|
const failedStep = steps.find((s) => s.exitCode !== 0);
|