From 81119b7a87c2e5e782b42d7268fc352afc3821a0 Mon Sep 17 00:00:00 2001 From: "REDMOND\\jiewan" Date: Tue, 12 Dec 2017 15:53:57 -0800 Subject: [PATCH 1/2] Settings for Zip glob patterns. --- package.json | 10 ++++++++++ src/commands/deploy.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dbd36a4a..a3798518 100644 --- a/package.json +++ b/package.json @@ -323,6 +323,16 @@ "All" ], "description": "%azFunc.templateFilterDescription%" + }, + "azureFunctions.zipGlobPattern": { + "type": "string", + "default": "**/*", + "description": "Defines which files in the workspace to deploy. This applies to Zip deploy only, has no effect on other deployment methods." + }, + "azureFunctions.zipIgnorePattern": { + "type": "string", + "default": "", + "description": "Defines which files in the workspace to ignore for Zip deploy. This applies to Zip deploy only, has no effect on other deployment methods." } } } diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index 0859af1a..7325094c 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -44,7 +44,7 @@ export async function deploy(telemetryProperties: { [key: string]: string; }, tr await verifyBetaRuntime(outputChannel, client, siteWrapper); } - await siteWrapper.deploy(folderPath, client, outputChannel); + await siteWrapper.deploy(folderPath, client, outputChannel, 'azureFunctions'); } async function getJavaFolderPath(outputChannel: vscode.OutputChannel, basePath: string, ui: IUserInterface): Promise { From d52911031d5a6dd1afffd28d89eb18601dfdefbb Mon Sep 17 00:00:00 2001 From: "REDMOND\\jiewan" Date: Wed, 13 Dec 2017 13:52:19 -0800 Subject: [PATCH 2/2] Update app service package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a3798518..2b04b880 100644 --- a/package.json +++ b/package.json @@ -369,7 +369,7 @@ "ms-rest": "^2.2.2", "ms-rest-azure": "^2.3.1", "request-promise": "^4.2.2", - "vscode-azureappservice": "~0.7.2", + "vscode-azureappservice": "~0.8.0", "vscode-azureextensionui": "~0.3.1", "vscode-extension-telemetry": "^0.0.6", "vscode-nls": "^2.0.2",