Skip to content

Commit

Permalink
fileshare partial download fix
Browse files Browse the repository at this point in the history
  • Loading branch information
omeshp committed Apr 11, 2018
1 parent 81285d6 commit acaa784
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Tasks/DownloadBuildArtifacts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ async function main(): Promise<void> {
if (!fs.existsSync(artifactLocation)) {
console.log(tl.loc("ArtifactNameDirectoryNotFound", artifactLocation, downloadUrl));
artifactLocation = downloadUrl;
downloaderOptions.itemPattern = itemPattern.replace(artifact.name, path.basename(artifactLocation));
}

console.log(tl.loc("DownloadArtifacts", artifactLocation));
Expand Down
6 changes: 3 additions & 3 deletions Tasks/DownloadBuildArtifacts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/DownloadBuildArtifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"dependencies": {
"vsts-task-lib": "2.1.0",
"vso-node-api": "^6.2.8-preview",
"artifact-engine": "0.1.19"
"artifact-engine": "0.1.20"
}
}
4 changes: 2 additions & 2 deletions Tasks/DownloadBuildArtifacts/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 133,
"Patch": 1
"Minor": 134,
"Patch": 0
},
"groups": [
{
Expand Down
4 changes: 2 additions & 2 deletions Tasks/DownloadBuildArtifacts/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 133,
"Patch": 1
"Minor": 134,
"Patch": 0
},
"groups": [
{
Expand Down

0 comments on commit acaa784

Please sign in to comment.