From 1b6765aeea6a2f79e8e852e80e3b9ff458397c77 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 12 Dec 2022 20:29:23 +1000 Subject: [PATCH] Bump PowerShell dependencies (#116) * Update ./modules.json * Bump change log Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bernie White --- .vscode/tasks.json | 4 +++- CHANGELOG.md | 10 ++++++++++ modules.json | 6 +++--- scripts/dependencies.psm1 | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index ce82aa0..1461cbe 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -24,7 +24,9 @@ "label": "coverage", "type": "shell", "command": "Invoke-Build Test -CodeCoverage", - "problemMatcher": [ "$pester" ], + "problemMatcher": [ + "$pester" + ], "presentation": { "clear": true, "panel": "dedicated" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adf138..78a7ced 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## Unreleased +What's changed since pre-release v0.4.0-B2208003: + +- Engineering: + - Bump PSRule to v2.6.0. + [#116](https://github.com/microsoft/PSRule.Rules.CAF/pull/116) + - Bump PSRule.Rules.Azure to v1.22.1. + [#116](https://github.com/microsoft/PSRule.Rules.CAF/pull/116) + - Bump PSScriptAnalyzer to v1.21.0. + [#116](https://github.com/microsoft/PSRule.Rules.CAF/pull/116) + ## v0.4.0-B2208003 (pre-release) What's changed since pre-release v0.4.0-B2205006: diff --git a/modules.json b/modules.json index 73af697..6f435b3 100644 --- a/modules.json +++ b/modules.json @@ -1,10 +1,10 @@ { "dependencies": { "PSRule": { - "version": "2.2.0" + "version": "2.6.0" }, "PSRule.Rules.Azure": { - "version": "1.17.1" + "version": "1.22.1" } }, "devDependencies": { @@ -18,7 +18,7 @@ "version": "0.9.0" }, "PSScriptAnalyzer": { - "version": "1.20.0" + "version": "1.21.0" } } } diff --git a/scripts/dependencies.psm1 b/scripts/dependencies.psm1 index 5584f65..3fb53a3 100644 --- a/scripts/dependencies.psm1 +++ b/scripts/dependencies.psm1 @@ -100,7 +100,7 @@ function CheckVersion { if (([Version]$found.Version) -gt ([Version]$module.Value.version)) { Write-Host -Object "[$group] -- Newer version found $($found.Version)"; $dependencies[$module.Name].version = $found.Version; - $Null = Add-Content -Path $changeNotes -Value "Bump $($module.Name) to $($found.Version)."; + $Null = Add-Content -Path $changeNotes -Value "Bump $($module.Name) to v$($found.Version)."; } else { Write-Host -Object "[$group] -- Already up to date.";