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) {
137
137
# Write-Information ('Installing: gpg4win-4.1.0.exe')
138
138
# Start-Process -FilePath 'gpg4win-4.1.0.exe' -ArgumentList '/S' -Wait
139
139
140
- Pop-Location
140
+ Pop-Location
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ task Docs {
369
369
} elseif ($line -match ' \\([[\]`\>])' ) {
370
370
# https://regex101.com/r/pBXaJE/3
371
371
Write-Host (' [PSAKE Docs] Editing:{1}{0}' -f $line , " `t " ) - ForegroundColor ' DarkMagenta'
372
- $newline = $line -replace ' \\([[\]`\>)' , ' $1'
372
+ $newline = $line -replace ' \\([[\]`\>] )' , ' $1'
373
373
Write-Host (' {1}{1}>>{1}{0}' -f $newline , " `t " ) - ForegroundColor ' DarkMagenta'
374
374
Write-Output $newline
375
375
} else {
@@ -530,7 +530,7 @@ task GitHubTagDelete {
530
530
}
531
531
}
532
532
533
- task DeployProGet {
533
+ task RegisterProGet {
534
534
$registerPSRepo = @ {
535
535
Name = ' PowerShell-ESE'
536
536
SourceLocation = $env: PROGET_POWERSHELL_ESE_URL
@@ -540,7 +540,9 @@ task DeployProGet {
540
540
Write-Host " [PSAKE DeployProGet] Register-PSRepository: $ ( $registerPSRepo | ConvertTo-Json ) " - ForegroundColor ' DarkMagenta'
541
541
Register-PSRepository @registerPSRepo
542
542
}
543
+ }
543
544
545
+ task DeployProGet - Depends RegisterProGet {
544
546
$publishModule = @ {
545
547
Path = ([IO.Path ]::Combine($script :BuildOutput , $script :thisModuleName ))
546
548
NuGetApiKey = $env: PROGET_POWERSHELL_ESE
You can’t perform that action at this time.
0 commit comments