Skip to content

Commit

Permalink
Update to PSRule v0.19.0 #31 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite committed Aug 1, 2020
1 parent fc3d83b commit bc35a5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions pipeline.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion ps-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc35a5a

Please sign in to comment.