Skip to content

Commit 0f32dee

Browse files
committed
Prevent depot command from displaying update message
1 parent 479d355 commit 0f32dee

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/cli-v3/src/commands/deploy.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ async function _deployCommand(dir: string, options: DeployCommandOptions) {
345345
);
346346
} else {
347347
outro(
348-
`Version ${version} deployed with ${taskCount} detected task${
349-
taskCount === 1 ? "" : "s"
348+
`Version ${version} deployed with ${taskCount} detected task${taskCount === 1 ? "" : "s"
350349
} ${deploymentLink}`
351350
);
352351
}
@@ -510,14 +509,14 @@ type BuildAndPushImageOptions = {
510509

511510
type BuildAndPushImageResults =
512511
| {
513-
ok: true;
514-
image: string;
515-
digest?: string;
516-
}
512+
ok: true;
513+
image: string;
514+
digest?: string;
515+
}
517516
| {
518-
ok: false;
519-
error: string;
520-
};
517+
ok: false;
518+
error: string;
519+
};
521520

522521
async function buildAndPushImage(
523522
options: BuildAndPushImageOptions
@@ -579,6 +578,7 @@ async function buildAndPushImage(
579578
DEPOT_TOKEN: options.buildToken,
580579
DEPOT_PROJECT_ID: options.buildProjectId,
581580
DEPOT_NO_SUMMARY_LINK: "1",
581+
DEPOT_NO_UPDATE_NOTIFIER: "1",
582582
DOCKER_CONFIG: dockerConfigDir,
583583
},
584584
});

0 commit comments

Comments
 (0)