Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipping symlinks while expanding wild cards #13834

Merged
merged 3 commits into from
Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Tasks/AzureMysqlDeploymentV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 175,
"Patch": 2
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "1.100.0",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/AzureMysqlDeploymentV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 175,
"Patch": 2
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "1.100.0",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureRmWebAppDeploymentV4/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 4,
"Minor": 178,
"Patch": 0
"Patch": 1
},
"releaseNotes": "What's new in version 4.*<br />Supports Zip Deploy, Run From Package, War Deploy [Details here](https://aka.ms/appServiceDeploymentMethods)<br />Supports App Service Environments<br />Improved UI for discovering different App service types supported by the task<br/>Run From Package is the preferred deployment method, which makes files in wwwroot folder read-only<br/>Click [here](https://aka.ms/azurermwebdeployreadme) for more information.",
"minimumAgentVersion": "2.104.1",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureRmWebAppDeploymentV4/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 4,
"Minor": 178,
"Patch": 0
"Patch": 1
},
"releaseNotes": "ms-resource:loc.releaseNotes",
"minimumAgentVersion": "2.104.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import trm = require('azure-pipelines-task-lib/toolrunner');
import path = require('path');

export function expandWildcardPattern(folderPath: string, wildcardPattern : string) {
var matchingFiles = tl.findMatch(folderPath, wildcardPattern);
var matchingFiles = tl.findMatch(folderPath, wildcardPattern, { followSymbolicLinks: false, allowBrokenSymbolicLinks: false, followSpecifiedSymbolicLink: false });
var filesList = {};
for (let i = 0; i < matchingFiles.length; i++) {
matchingFiles[i] = matchingFiles[i].replace(/\//g, '\\');
Expand Down
4 changes: 2 additions & 2 deletions Tasks/FileTransformV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"version": {
"Major": 1,
"Minor": 156,
"Patch": 10
"Minor": 178,
"Patch": 0
},
"instanceNameFormat": "File Transform: $(Package)",
"groups": [
Expand Down
4 changes: 2 additions & 2 deletions Tasks/FileTransformV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
],
"version": {
"Major": 1,
"Minor": 156,
"Patch": 10
"Minor": 178,
"Patch": 0
},
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/FileTransformV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 8
"Patch": 9
},
"preview": "true",
"releaseNotes": "More optimized task fields that allow users to enable any/all of the transformation (XML), variable substitution (JSON and XML) features in a single task instance.</br>Task fails when any of the configured transformation/substitution is NOT applied or when the task is no-op.",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/FileTransformV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 8
"Patch": 9
},
"preview": "true",
"releaseNotes": "ms-resource:loc.releaseNotes",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/IISWebAppDeploymentOnMachineGroupV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 156,
"Patch": 13
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.104.1",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/IISWebAppDeploymentOnMachineGroupV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 156,
"Patch": 13
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "2.104.1",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/MysqlDeploymentOnMachineGroupV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 156,
"Patch": 11
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "1.100.0",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/MysqlDeploymentOnMachineGroupV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 156,
"Patch": 11
"Minor": 178,
"Patch": 0
},
"demands": [],
"minimumAgentVersion": "1.100.0",
Expand Down