From f286faf0e4612b6d8f0a292c3c20511e2016f31c Mon Sep 17 00:00:00 2001 From: halliba Date: Tue, 23 Aug 2022 13:00:14 +0200 Subject: [PATCH] fix: Input required: failOnEmptySource (#4) - updated version to 0.3.2 --- buildAndReleaseTask/task.dev.json | 2 +- buildAndReleaseTask/task.prod.json | 16 +++++++++++++--- vss-extension.dev.json | 2 +- vss-extension.json | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/buildAndReleaseTask/task.dev.json b/buildAndReleaseTask/task.dev.json index ec2eb59..ba5963a 100644 --- a/buildAndReleaseTask/task.dev.json +++ b/buildAndReleaseTask/task.dev.json @@ -10,7 +10,7 @@ "version": { "Major": 0, "Minor": 3, - "Patch": 1 + "Patch": 2 }, "groups": [ { diff --git a/buildAndReleaseTask/task.prod.json b/buildAndReleaseTask/task.prod.json index ffc1c6c..ae14d63 100644 --- a/buildAndReleaseTask/task.prod.json +++ b/buildAndReleaseTask/task.prod.json @@ -10,7 +10,7 @@ "version": { "Major": 0, "Minor": 3, - "Patch": 1 + "Patch": 2 }, "groups": [ { @@ -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 }, @@ -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 }, @@ -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": { diff --git a/vss-extension.dev.json b/vss-extension.dev.json index e3cb890..78de6f1 100644 --- a/vss-extension.dev.json +++ b/vss-extension.dev.json @@ -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" diff --git a/vss-extension.json b/vss-extension.json index 1b5d65f..7d6cfa2 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -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": [