fix the open command
This commit is contained in:
2
dist/azure/gitreleasemanager/open/task.json
vendored
2
dist/azure/gitreleasemanager/open/task.json
vendored
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "5d437bf5-f193-4449-b531-c4c69eebaa48",
|
||||
"name": "gitreleasemanager/open",
|
||||
"friendlyName": "Discard GitReleaseManager Task",
|
||||
"friendlyName": "Open GitReleaseManager Task",
|
||||
"description": "Tool for creating and exporting releases for software applications hosted on GitHub",
|
||||
"author": "GitTools Contributors",
|
||||
"helpMarkDown": "See the [documentation](https://gittools.github.io/GitReleaseManager/docs/) for help",
|
||||
|
||||
@@ -77,7 +77,7 @@ export async function open() {
|
||||
|
||||
const settings = Settings.getOpenSettings(buildAgent);
|
||||
|
||||
await gitReleaseManagerTool.close(settings);
|
||||
await gitReleaseManagerTool.open(settings);
|
||||
|
||||
buildAgent.setSucceeded("GitVersionManager opened release successfully", true);
|
||||
} catch (error) {
|
||||
|
||||
@@ -54,7 +54,7 @@ export class GitReleaseManagerTool extends DotnetTool implements IGitReleaseMana
|
||||
}
|
||||
|
||||
public open(settings: GitReleaseManagerOpenSettings): Promise<IExecResult> {
|
||||
const args = this.getCloseArguments(settings);
|
||||
const args = this.getOpenArguments(settings);
|
||||
|
||||
return this.execute("dotnet-gitreleasemanager", args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user