create action for GRM (2)
added azure task definition
This commit is contained in:
66
dist/azure/gitreleasemanager/create/task.json
vendored
66
dist/azure/gitreleasemanager/create/task.json
vendored
@@ -20,5 +20,69 @@
|
|||||||
"workingDirectory": "."
|
"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"
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
@@ -35,7 +35,7 @@ inputs:
|
|||||||
pre:
|
pre:
|
||||||
description: Creates the release as a pre-release
|
description: Creates the release as a pre-release
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: 'false'
|
||||||
targetcommitish:
|
targetcommitish:
|
||||||
description: The commit to tag. Can be a branch or SHA. Defaults to repository's default branch
|
description: The commit to tag. Can be a branch or SHA. Defaults to repository's default branch
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
Reference in New Issue
Block a user