File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -137,4 +137,4 @@ foreach ($download in $downloads) {
137137# Write-Information ('Installing: gpg4win-4.1.0.exe')
138138# Start-Process -FilePath 'gpg4win-4.1.0.exe' -ArgumentList '/S' -Wait
139139
140- Pop-Location
140+ Pop-Location
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ task Docs {
369369 } elseif ($line -match ' \\([[\]`\>])' ) {
370370 # https://regex101.com/r/pBXaJE/3
371371 Write-Host (' [PSAKE Docs] Editing:{1}{0}' -f $line , " `t " ) - ForegroundColor ' DarkMagenta'
372- $newline = $line -replace ' \\([[\]`\>)' , ' $1'
372+ $newline = $line -replace ' \\([[\]`\>] )' , ' $1'
373373 Write-Host (' {1}{1}>>{1}{0}' -f $newline , " `t " ) - ForegroundColor ' DarkMagenta'
374374 Write-Output $newline
375375 } else {
@@ -530,7 +530,7 @@ task GitHubTagDelete {
530530 }
531531}
532532
533- task DeployProGet {
533+ task RegisterProGet {
534534 $registerPSRepo = @ {
535535 Name = ' PowerShell-ESE'
536536 SourceLocation = $env: PROGET_POWERSHELL_ESE_URL
@@ -540,7 +540,9 @@ task DeployProGet {
540540 Write-Host " [PSAKE DeployProGet] Register-PSRepository: $ ( $registerPSRepo | ConvertTo-Json ) " - ForegroundColor ' DarkMagenta'
541541 Register-PSRepository @registerPSRepo
542542 }
543+ }
543544
545+ task DeployProGet - Depends RegisterProGet {
544546 $publishModule = @ {
545547 Path = ([IO.Path ]::Combine($script :BuildOutput , $script :thisModuleName ))
546548 NuGetApiKey = $env: PROGET_POWERSHELL_ESE
You can’t perform that action at this time.
0 commit comments