Skip to content

Commit 6866a0a

Browse files
authored
Users/ersciple/m120bump (#260)
* bump version * generate docs
1 parent 2c3c256 commit 6866a0a

File tree

5 files changed

+61
-9
lines changed

5 files changed

+61
-9
lines changed

powershell/Docs/Commands.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Commands (v0.8.0)
1+
# Commands (v0.9.0)
22
## <a name="toc" />Table of Contents
33
* [Find](#find)
44
* [Find-VstsMatch](#find-vstsmatch)
@@ -39,6 +39,7 @@
3939
* [Get-VstsVssCredentials](#get-vstsvsscredentials)
4040
* [Get-VstsVssHttpClient](#get-vstsvsshttpclient)
4141
* [Tool](#tool)
42+
* [Assert-VstsAgent](#assert-vstsagent)
4243
* [Assert-VstsPath](#assert-vstspath)
4344
* [Invoke-VstsTool](#invoke-vststool)
4445
* [Trace](#trace)
@@ -108,8 +109,8 @@ SYNOPSIS
108109
Applies match patterns against a list of files.
109110
110111
SYNTAX
111-
Select-VstsMatch [[-ItemPath] <String[]>] [[-Pattern] <String[]>] [[-Options] <Object>]
112-
[<CommonParameters>]
112+
Select-VstsMatch [[-ItemPath] <String[]>] [[-Pattern] <String[]>] [[-PatternRoot] <String>] [[-Options]
113+
<Object>] [<CommonParameters>]
113114
114115
DESCRIPTION
115116
Applies match patterns to a list of paths. Supports interleaved exclude patterns.
@@ -576,6 +577,18 @@ DESCRIPTION
576577
working with the VSTS REST SDK from a task.
577578
```
578579
## <a name="tool" />Tool
580+
### <a name="assert-vstsagent" />Assert-VstsAgent
581+
[table of contents](#toc) | [full](FullHelp/Assert-VstsAgent.md)
582+
```
583+
NAME
584+
Assert-VstsAgent
585+
586+
SYNOPSIS
587+
Asserts the agent version is at least the specified minimum.
588+
589+
SYNTAX
590+
Assert-VstsAgent [-Minimum] <Version> [<CommonParameters>]
591+
```
579592
### <a name="assert-vstspath" />Assert-VstsPath
580593
[table of contents](#toc) | [full](FullHelp/Assert-VstsPath.md)
581594
```
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Assert-VstsAgent
2+
[table of contents](../Commands.md#toc) | [brief](../Commands.md#assert-vstsagent)
3+
```
4+
NAME
5+
Assert-VstsAgent
6+
7+
SYNOPSIS
8+
Asserts the agent version is at least the specified minimum.
9+
10+
SYNTAX
11+
Assert-VstsAgent [-Minimum] <Version> [<CommonParameters>]
12+
13+
PARAMETERS
14+
-Minimum <Version>
15+
Minimum version - must be 2.104.1 or higher.
16+
17+
Required? true
18+
Position? 1
19+
Default value
20+
Accept pipeline input? false
21+
Accept wildcard characters? false
22+
23+
<CommonParameters>
24+
This cmdlet supports the common parameters: Verbose, Debug,
25+
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
26+
OutBuffer, PipelineVariable, and OutVariable. For more information, see
27+
about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
28+
```

powershell/Docs/FullHelp/Select-VstsMatch.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ SYNOPSIS
88
Applies match patterns against a list of files.
99
1010
SYNTAX
11-
Select-VstsMatch [[-ItemPath] <String[]>] [[-Pattern] <String[]>] [[-Options] <Object>]
12-
[<CommonParameters>]
11+
Select-VstsMatch [[-ItemPath] <String[]>] [[-Pattern] <String[]>] [[-PatternRoot] <String>] [[-Options]
12+
<Object>] [<CommonParameters>]
1313
1414
DESCRIPTION
1515
Applies match patterns to a list of paths. Supports interleaved exclude patterns.
@@ -33,11 +33,21 @@ PARAMETERS
3333
Accept pipeline input? false
3434
Accept wildcard characters? false
3535
36+
-PatternRoot <String>
37+
Default root to apply to unrooted patterns. Not applied to basename-only patterns when
38+
Options.MatchBase is true.
39+
40+
Required? false
41+
Position? 3
42+
Default value
43+
Accept pipeline input? false
44+
Accept wildcard characters? false
45+
3646
-Options <Object>
3747
When the Options parameter is not specified, defaults to (New-VstsMatchOptions -Dot -NoBrace -NoCase).
3848
3949
Required? false
40-
Position? 3
50+
Position? 4
4151
Default value
4252
Accept pipeline input? false
4353
Accept wildcard characters? false

powershell/Docs/ReleaseNotes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Release Notes
22

3-
## 0.8.3
4-
* Updated `Select-VstsMatch`. Added `-PatternRoot` parameter.
3+
## 0.9.0
54
* Breaking change for `Select-VstsMatch` due to positional parameter changes and partial parameter name impact.
5+
* Updated `Select-VstsMatch`. Added `-PatternRoot` parameter.
6+
* Added `Assert-VstsAgent`.
67

78
## 0.8.2
89
* Fixed issue with env block size limit.

powershell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vsts-task-sdk",
3-
"version": "0.8.3",
3+
"version": "0.9.0",
44
"description": "VSTS Task SDK",
55
"scripts": {
66
"build": "node make.js build",

0 commit comments

Comments
 (0)