Skip to content

Commit

Permalink
Bump PowerShell dependencies (#116)
Browse files Browse the repository at this point in the history
* Update ./modules.json

* Bump change log

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Bernie White <[email protected]>
  • Loading branch information
github-actions[bot] and BernieWhite authored Dec 12, 2022
1 parent dabc5be commit 1b6765a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"label": "coverage",
"type": "shell",
"command": "Invoke-Build Test -CodeCoverage",
"problemMatcher": [ "$pester" ],
"problemMatcher": [
"$pester"
],
"presentation": {
"clear": true,
"panel": "dedicated"
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions modules.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -18,7 +18,7 @@
"version": "0.9.0"
},
"PSScriptAnalyzer": {
"version": "1.20.0"
"version": "1.21.0"
}
}
}
2 changes: 1 addition & 1 deletion scripts/dependencies.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down

0 comments on commit 1b6765a

Please sign in to comment.