From dc4bfe9a969df45d4c2ca537741bf83ae2b5e06e Mon Sep 17 00:00:00 2001 From: Cole Rogers Date: Fri, 10 Nov 2023 08:11:16 -0500 Subject: [PATCH 1/3] add min instances callout --- src/commands/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index c88df3058b4..fa30067b98c 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -46,7 +46,7 @@ export const TARGET_PERMISSIONS: Record<(typeof VALID_DEPLOY_TARGETS)[number], s export const command = new Command("deploy") .description("deploy code and assets to your Firebase project") .withForce( - "delete Cloud Functions missing from the current working directory without confirmation" + "delete Cloud Functions missing from the current working directory and/or increase minimum instances without confirmation" ) .option("-p, --public ", "override the Hosting public directory specified in firebase.json") .option("-m, --message ", "an optional message describing this deploy") From bc5ebfade93a5b840dd6d7d55143efa390647a6f Mon Sep 17 00:00:00 2001 From: Cole Rogers Date: Fri, 10 Nov 2023 08:14:22 -0500 Subject: [PATCH 2/3] add changelog entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79aacc3c1c5..682c3aceaad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,2 @@ - Fix blocking functions in the emulator when using multiple codebases (#6504). +- Add min instances call-out to force flag (#6506). From 0c2c91f53bbc087dc4c4142b27d44750ffc3d3e2 Mon Sep 17 00:00:00 2001 From: Cole Rogers Date: Fri, 10 Nov 2023 13:23:16 -0500 Subject: [PATCH 3/3] update to skip all prompts --- CHANGELOG.md | 2 +- src/commands/deploy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 682c3aceaad..e071ec93eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ - Fix blocking functions in the emulator when using multiple codebases (#6504). -- Add min instances call-out to force flag (#6506). +- Add force flag call-out for bypassing prompts (#6506). diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index fa30067b98c..ca9cfe3e083 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -46,7 +46,7 @@ export const TARGET_PERMISSIONS: Record<(typeof VALID_DEPLOY_TARGETS)[number], s export const command = new Command("deploy") .description("deploy code and assets to your Firebase project") .withForce( - "delete Cloud Functions missing from the current working directory and/or increase minimum instances without confirmation" + "delete Cloud Functions missing from the current working directory and bypass interactive prompts" ) .option("-p, --public ", "override the Hosting public directory specified in firebase.json") .option("-m, --message ", "an optional message describing this deploy")