Skip to content

Commit

Permalink
fix: Input required: failOnEmptySource (#4)
Browse files Browse the repository at this point in the history
- updated version to 0.3.2
  • Loading branch information
halliba committed Aug 23, 2022
1 parent 8435d5a commit f286faf
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion buildAndReleaseTask/task.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": {
"Major": 0,
"Minor": 3,
"Patch": 1
"Patch": 2
},
"groups": [
{
Expand Down
16 changes: 13 additions & 3 deletions buildAndReleaseTask/task.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"version": {
"Major": 0,
"Minor": 3,
"Patch": 1
"Patch": 2
},
"groups": [
{
Expand Down Expand Up @@ -56,8 +56,8 @@
{
"name": "driveId",
"type": "string",
"label": "SharePoint Online drive ID",
"helpMarkDown": "Enter the Microsoft Graph / SharePoint Online **drive ID**. [Microsoft Docs](https://docs.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0)",
"label": "SharePoint Online drive ID or URL",
"helpMarkDown": "Enter the Microsoft Graph **drive ID** or the **full URL** to the SharePoint document library. [Microsoft Docs](https://docs.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0) Examples:\n DriveId: `b!X22Adlah_hsw...`\nURL: `https://contoso.sharepoint.com/sites/project-x/Shared%20Documents`",
"defaultValue": "",
"required": true
},
Expand All @@ -81,6 +81,7 @@
"name": "contents",
"type": "string",
"label": "Contents",
"helpMarkDown": "The contents that will be copied to the target folder. Wildcards and glob patterns are suppored. Examples:\n `/**/*.txt` to copy all txt files recursively\n`**` to copy all files recursively",
"defaultValue": "",
"required": true
},
Expand Down Expand Up @@ -114,6 +115,15 @@
"defaultValue": false,
"required": true,
"groupName": "advanced"
},
{
"name": "failOnEmptySource",
"type": "boolean",
"label": "Fail if no files found to copy",
"helpMarkDown": "Fail if no matching files to be copied are found under the source folder.",
"defaultValue": false,
"required": true,
"groupName": "advanced"
}
],
"execution": {
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "az-pipelines-2-sharepoint-dev",
"name": "Upload files to SharePoint Online [Dev]",
"version": "0.3.1",
"version": "0.3.2",
"public": false,
"galleryFlags": [
"Preview"
Expand Down
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "az-pipelines-2-sharepoint",
"name": "Upload files to SharePoint Online",
"version": "0.3.1",
"version": "0.3.2",
"publisher": "halliba",
"public": true,
"targets": [
Expand Down

0 comments on commit f286faf

Please sign in to comment.