diff --git a/dist/azure/gitreleasemanager/create/task.json b/dist/azure/gitreleasemanager/create/task.json index 719effa..2ee61bb 100644 --- a/dist/azure/gitreleasemanager/create/task.json +++ b/dist/azure/gitreleasemanager/create/task.json @@ -20,5 +20,69 @@ "workingDirectory": "." } }, - "instanceNameFormat": "gitreleasemanager/create" + "instanceNameFormat": "gitreleasemanager/create", + "inputs": [{ + "name": "owner", + "type": "string", + "label": "The owner of the repository", + "defaultValue": "", + "required": true, + "helpMarkDown": "The owner of the repository" + }, { + "name": "repository", + "type": "string", + "label": "The name of the repository", + "defaultValue": "", + "required": true, + "helpMarkDown": "The name of the repository" + }, { + "name": "token", + "type": "string", + "label": "The access token to access GitHub with", + "defaultValue": "", + "required": true, + "helpMarkDown": "The access token to access GitHub with" + }, { + "name": "milestone", + "type": "string", + "label": "The milestone to use", + "defaultValue": "", + "required": false, + "helpMarkDown": "The milestone to use" + }, { + "name": "name", + "type": "string", + "label": "The name of the release", + "defaultValue": "", + "required": false, + "helpMarkDown": "The name of the release" + }, { + "name": "inputFilePath", + "type": "string", + "label": "The path to the file to be used as the content of the release notes", + "defaultValue": "", + "required": false, + "helpMarkDown": "The path to the file to be used as the content of the release notes" + }, { + "name": "pre", + "type": "boolean", + "label": "Creates the release as a pre-release", + "defaultValue": "false", + "required": false, + "helpMarkDown": "Creates the release as a pre-release" + }, { + "name": "targetcommitish", + "type": "string", + "label": "The commit to tag. Can be a branch or SHA. Defaults to repository's default branch", + "defaultValue": "", + "required": false, + "helpMarkDown": "The commit to tag. Can be a branch or SHA. Defaults to repository's default branch" + }, { + "name": "targetDirectory", + "type": "string", + "label": "The directory on which GitReleaseManager should be executed. Defaults to current directory", + "defaultValue": "", + "required": false, + "helpMarkDown": "The directory on which GitReleaseManager should be executed. Defaults to current directory" + }] } \ No newline at end of file diff --git a/gitreleasemanager/create/action.yml b/gitreleasemanager/create/action.yml index be5460d..c13196f 100644 --- a/gitreleasemanager/create/action.yml +++ b/gitreleasemanager/create/action.yml @@ -35,7 +35,7 @@ inputs: pre: description: Creates the release as a pre-release required: false - default: '' + default: 'false' targetcommitish: description: The commit to tag. Can be a branch or SHA. Defaults to repository's default branch required: false