Skip to content

Commit 93bef4d

Browse files
authored
fixed linuxfxversion not mapped correctly in azurewebappcontainer issue (#21429)
* fixed linuxfxversion not mapped correctly in azurewebappcontainer issue * modified code to check lowercase * version was updated for azurewebappcontainer
1 parent 3708d18 commit 93bef4d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Tasks/AzureWebAppContainerV1/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 1,
20-
"Minor": 264,
21-
"Patch": 1
20+
"Minor": 266,
21+
"Patch": 0
2222
},
2323
"minimumAgentVersion": "2.104.1",
2424
"groups": [

Tasks/AzureWebAppContainerV1/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 1,
20-
"Minor": 264,
21-
"Patch": 1
20+
"Minor": 266,
21+
"Patch": 0
2222
},
2323
"minimumAgentVersion": "2.104.1",
2424
"groups": [

Tasks/AzureWebAppContainerV1/taskparameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class TaskParametersUtility {
3838
let appDetails = await this.getWebAppKind(taskParameters);
3939
taskParameters.ResourceGroupName = appDetails["resourceGroupName"];
4040
taskParameters.OSType = appDetails["osType"];
41-
taskParameters.isLinuxContainerApp = taskParameters.OSType && taskParameters.OSType.indexOf("Linux") !=-1;
41+
taskParameters.isLinuxContainerApp = taskParameters.OSType && taskParameters.OSType.toLowerCase().indexOf("linux") !=-1;
4242

4343
// Used for SiteContainers apps.
4444
const siteContainersConfigInput = tl.getInput('siteContainersConfig');

0 commit comments

Comments
 (0)