diff --git a/Tasks/ServiceFabricDeployV1/Create-DiffPackage.psm1 b/Tasks/ServiceFabricDeployV1/Create-DiffPackage.psm1 index c8e3f7cac5e8..574f51643517 100644 --- a/Tasks/ServiceFabricDeployV1/Create-DiffPackage.psm1 +++ b/Tasks/ServiceFabricDeployV1/Create-DiffPackage.psm1 @@ -1,4 +1,4 @@ -function Create-DiffPackage +function New-DiffPackage { [CmdletBinding()] param( diff --git a/Tasks/ServiceFabricDeployV1/deploy.ps1 b/Tasks/ServiceFabricDeployV1/deploy.ps1 index 02495c7b59bf..6591d9374031 100644 --- a/Tasks/ServiceFabricDeployV1/deploy.ps1 +++ b/Tasks/ServiceFabricDeployV1/deploy.ps1 @@ -113,7 +113,7 @@ try { if ($isPackageValid) { Import-Module "$PSScriptRoot\Create-DiffPackage.psm1" - $diffPackagePath = Create-DiffPackage -ApplicationName $applicationName -ApplicationPackagePath $applicationPackagePath -ConnectedServiceEndpoint $connectedServiceEndpoint -ClusterConnectionParameters $clusterConnectionParameters + $diffPackagePath = New-DiffPackage -ApplicationName $applicationName -ApplicationPackagePath $applicationPackagePath -ConnectedServiceEndpoint $connectedServiceEndpoint -ClusterConnectionParameters $clusterConnectionParameters } else { diff --git a/Tasks/ServiceFabricDeployV1/task.json b/Tasks/ServiceFabricDeployV1/task.json index d559d83a4f9d..a653a8affd35 100644 --- a/Tasks/ServiceFabricDeployV1/task.json +++ b/Tasks/ServiceFabricDeployV1/task.json @@ -17,7 +17,7 @@ "version": { "Major": 1, "Minor": 7, - "Patch": 9 + "Patch": 10 }, "demands": [ "Cmd" @@ -91,15 +91,6 @@ "groupname": "advanced", "helpMarkDown": "Indicates whether the application package should be compressed before copying to the image store. If enabled, this will override the value in the publish profile." }, - { - "name": "useDiffPackage", - "type": "boolean", - "label": "Use Diff Package", - "defaultValue": "false", - "required": false, - "groupname": "advanced", - "helpMarkDown": "Upgrade by using a diff package that contains only the updated application files, the updated application manifest, and the service manifest files." - }, { "name": "copyPackageTimeoutSec", "type": "string", @@ -150,6 +141,15 @@ "groupname": "advanced", "helpMarkDown": "Indicates whether the package should be validated or not before deployment." }, + { + "name": "useDiffPackage", + "type": "boolean", + "label": "Use Diff Package", + "defaultValue": "false", + "required": false, + "groupname": "upgrade", + "helpMarkDown": "Upgrade by using a diff package that contains only the updated application files, the updated application manifest, and the service manifest files." + }, { "name": "overridePublishProfileSettings", "type": "boolean", diff --git a/Tasks/ServiceFabricDeployV1/task.loc.json b/Tasks/ServiceFabricDeployV1/task.loc.json index 579398fa9c22..dff0cfcf31cf 100644 --- a/Tasks/ServiceFabricDeployV1/task.loc.json +++ b/Tasks/ServiceFabricDeployV1/task.loc.json @@ -17,7 +17,7 @@ "version": { "Major": 1, "Minor": 7, - "Patch": 9 + "Patch": 10 }, "demands": [ "Cmd" @@ -91,15 +91,6 @@ "groupname": "advanced", "helpMarkDown": "ms-resource:loc.input.help.compressPackage" }, - { - "name": "useDiffPackage", - "type": "boolean", - "label": "ms-resource:loc.input.label.useDiffPackage", - "defaultValue": "false", - "required": false, - "groupname": "advanced", - "helpMarkDown": "ms-resource:loc.input.help.useDiffPackage" - }, { "name": "copyPackageTimeoutSec", "type": "string", @@ -150,6 +141,15 @@ "groupname": "advanced", "helpMarkDown": "ms-resource:loc.input.help.skipPackageValidation" }, + { + "name": "useDiffPackage", + "type": "boolean", + "label": "ms-resource:loc.input.label.useDiffPackage", + "defaultValue": "false", + "required": false, + "groupname": "upgrade", + "helpMarkDown": "ms-resource:loc.input.help.useDiffPackage" + }, { "name": "overridePublishProfileSettings", "type": "boolean",