diff --git a/CHANGELOG.md b/CHANGELOG.md index 425aacc2..9eea0022 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Unreleased - General improvements: - - Updated to PSRule v0.18.1. [#28](https://github.com/microsoft/PSRule-pipelines/issues/28) + - Updated to PSRule v0.19.0. [#31](https://github.com/microsoft/PSRule-pipelines/issues/31) ## v0.3.0 diff --git a/pipeline.build.ps1 b/pipeline.build.ps1 index fc514883..5596c6e7 100644 --- a/pipeline.build.ps1 +++ b/pipeline.build.ps1 @@ -169,10 +169,10 @@ task PSRule NuGet, { if (!(Test-Path -Path out/dist/ps_modules)) { $Null = New-Item -Path out/dist/ps_modules -ItemType Directory -Force; } - if ($Null -eq (Get-InstalledModule -Name PSRule -MinimumVersion 0.18.1 -ErrorAction SilentlyContinue)) { - Install-Module -Name PSRule -Scope CurrentUser -MinimumVersion 0.18.1 -Force; + if ($Null -eq (Get-InstalledModule -Name PSRule -MinimumVersion 0.19.0 -ErrorAction SilentlyContinue)) { + Install-Module -Name PSRule -Scope CurrentUser -MinimumVersion 0.19.0 -Force; } - Save-Module -Name PSRule -Path out/dist/ps_modules -MinimumVersion 0.18.1; + Save-Module -Name PSRule -Path out/dist/ps_modules -MinimumVersion 0.19.0; Import-Module -Name PSRule -Verbose:$False; } diff --git a/ps-project.yaml b/ps-project.yaml index aa235f25..a90d0769 100644 --- a/ps-project.yaml +++ b/ps-project.yaml @@ -14,7 +14,7 @@ bugs: url: https://github.com/Microsoft/PSRule-pipelines/issues modules: - PSRule: ^0.18.1 + PSRule: ^0.19.0 VstsTaskSdk: ^0.11.0 PowerShellGet: ^2.2.3