Skip to content

Commit

Permalink
dist update
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Dec 10, 2024
1 parent fc6efe4 commit 824e0d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions dist/tools/libs/gitreleasemanager.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,11 @@ class GitReleaseManagerSettingsProvider extends SettingsProvider {
}
getCommonSettings() {
const milestone = this.buildAgent.getInput("milestone");
const owner = this.buildAgent.getInput("owner");
const repository = this.buildAgent.getInput("repository");
const token = this.buildAgent.getInput("token");
const targetDirectory = this.buildAgent.getInput("targetDirectory");
const logFilePath = this.buildAgent.getInput("logFilePath");
return {
owner,
repository,
token,
targetDirectory,
Expand Down Expand Up @@ -121,8 +119,9 @@ class GitReleaseManagerTool extends DotnetTool {
}
async getCommonArguments(settings) {
const args = [];
args.push("--owner", settings.owner);
args.push("--repository", settings.repository);
const [owner, repository] = settings.repository.split("/");
args.push("--owner", owner);
args.push("--repository", repository);
args.push("--token", settings.token);
settings.targetDirectory = await this.getRepoDir(settings);
args.push("--targetDirectory", settings.targetDirectory);
Expand Down
Loading

0 comments on commit 824e0d0

Please sign in to comment.