Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion New-ADOWorkItem.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,11 @@

end {
$c, $t, $progId = 0, $q.Count, [Random]::new().Next()
$originalInvokeParams = $invokeParams
while ($q.Count) {
. $dq $q
$uriBase = "$Server".TrimEnd('/'), $Organization, $Project -join '/'

$invokeParams = @{} + $originalInvokeParams

$c++
Write-Progress "Creating" "$type [$c/$t]" -PercentComplete ($c * 100 / $t) -Id $progId
Expand Down
7 changes: 6 additions & 1 deletion PSDevOps.psd1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@{
ModuleVersion = '0.5.2'
ModuleVersion = '0.5.3'
RootModule = 'PSDevOps.psm1'
Description = 'PowerShell Tools for DevOps'
Guid = 'e6b56c5f-41ac-4ba4-8b88-2c063f683176'
Expand All @@ -9,6 +9,11 @@
ProjectURI = 'https://github.com/StartAutomating/PSDevOps'
LicenseURI = 'https://github.com/StartAutomating/PSDevOps/blob/master/LICENSE'
ReleaseNotes = @'
0.5.3
---
* Get-ADORepository : Adding -PullRequestID
* New/Set-ADOWorkItem: Fixing pipelining issue

0.5.2
---
* Get-ADOTeam: Adding alias -AreaPath for -TeamFieldValue, carrying on team property
Expand Down
7 changes: 6 additions & 1 deletion ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
0.5.2
0.5.3
---
* Get-ADORepository : Adding -PullRequestID
* New/Set-ADOWorkItem: Fixing pipelining issue

0.5.2
---
* Get-ADOTeam: Adding alias -AreaPath for -TeamFieldValue, carrying on team property
* Set-ADOTeam: Support for -DefaultAreaPath/-AreaPath (TeamFieldValues api, fixing issue #92)
Expand Down
5 changes: 3 additions & 2 deletions Set-ADOWorkItem.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,11 @@
}

end {
$c, $t, $progId = 0, $q.Count, [Random]::new().Next()
$c, $t, $progId = 0, $q.Count, [Random]::new().Next()
$originalInvokeParams = $invokeParams
while ($q.Count) {
. $dq $q

$invokeParams = @{} + $originalInvokeParams
Write-Progress "Updating Work Items" " [$c of $t] $ID" -PercentComplete ($c * 100 /$t) -Id $progId

$uriBase = "$Server".TrimEnd('/'), $Organization, $Project -join '/'
Expand Down