Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Commit

Permalink
Hotfix/17 (#19)
Browse files Browse the repository at this point in the history
* Fix for #17

passing missed parameter of endpointurl

* fix #17

Co-authored-by: SwethaJagadeesh <swethapearls@gmail.com>
  • Loading branch information
onlyutkarsh and SwethaJagadeesh authored Jan 7, 2020
1 parent 4ac9881 commit e2f9d0e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 101 deletions.
103 changes: 7 additions & 96 deletions 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/DownloadRepo/DownloadRepoV1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function main() {
}
else if (versionSelector === "latestSpecificBranch") {
tl.debug(`Finding commit for '${branch}' branch`);
commitId = await gitApi.getLatestCommitIdFromBranch(definition, token, branch);
commitId = await gitApi.getLatestCommitIdFromBranch(endpointUrl, definition, token, branch);
}
}
console.info(`Commit id: ${commitId}`);
Expand Down
4 changes: 2 additions & 2 deletions tasks/DownloadRepo/DownloadRepoV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 3
"Patch": 5
},
"minimumAgentVersion": "2.115.0",
"instanceNameFormat": "Download GitLab repository",
Expand Down Expand Up @@ -128,4 +128,4 @@
"argumentFormat": ""
}
}
}
}
4 changes: 2 additions & 2 deletions vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "gitlab-integration",
"name": "GitLab Integration for Azure Pipelines",
"publisher": "onlyutkarsh",
"version": "0.0.168",
"version": "0.0.169",
"public": false,
"description": "Download sources from GitLab repository in your build pipeline or consume them as an artifact in to your release pipeline during deployment.",
"categories": [
Expand Down Expand Up @@ -288,4 +288,4 @@
}
}
]
}
}

0 comments on commit e2f9d0e

Please sign in to comment.