From 22ff70e9d34b18245178d1b2a01aac50c2fbb55e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 4 Aug 2022 16:07:25 +1000 Subject: [PATCH] Bump PowerShell dependencies (#113) * Update ./modules.json * Bump change log Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bernie White --- CHANGELOG.md | 26 +++++++++++++++------- modules.json | 4 ++-- pipeline.build.ps1 | 9 +------- ps-project.yaml | 4 ++-- ps-rule.yaml | 2 +- src/PSRule.Rules.CAF/PSRule.Rules.CAF.psd1 | 6 ++--- 6 files changed, 27 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba09c45..8e6e57f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,32 +5,42 @@ What's changed since pre-release v0.4.0-B2205006: - Engineering: - - Bump PSRule.Rules.Azure to v1.16.1. [#112](https://github.com/microsoft/PSRule.Rules.CAF/pull/112) + - Bump PSRule to v2.2.0. + [#113](https://github.com/microsoft/PSRule.Rules.CAF/pull/113) + - Bump PSRule.Rules.Azure to v1.17.1. + [#113](https://github.com/microsoft/PSRule.Rules.CAF/pull/113) ## v0.4.0-B2205006 (pre-release) What's changed since pre-release v0.4.0-B2204019: - Engineering: - - Bump PSRule to v2.1.0. [#107](https://github.com/microsoft/PSRule.Rules.CAF/pull/107) - - Bump PSRule.Rules.Azure to v1.15.0. [#107](https://github.com/microsoft/PSRule.Rules.CAF/pull/107) - - Bump Pester to 5.3.3. [#106](https://github.com/microsoft/PSRule.Rules.CAF/pull/106) + - Bump PSRule to v2.1.0. + [#107](https://github.com/microsoft/PSRule.Rules.CAF/pull/107) + - Bump PSRule.Rules.Azure to v1.15.0. + [#107](https://github.com/microsoft/PSRule.Rules.CAF/pull/107) + - Bump Pester to 5.3.3. + [#106](https://github.com/microsoft/PSRule.Rules.CAF/pull/106) ## v0.4.0-B2204019 (pre-release) What's changed since pre-release v0.4.0-B2204008: - Engineering: - - Bump PSRule to v2.0.1. [#99](https://github.com/microsoft/PSRule.Rules.CAF/pull/99) - - Bump PSRule.Rules.Azure to v1.14.3. [#99](https://github.com/microsoft/PSRule.Rules.CAF/pull/99) + - Bump PSRule to v2.0.1. + [#99](https://github.com/microsoft/PSRule.Rules.CAF/pull/99) + - Bump PSRule.Rules.Azure to v1.14.3. + [#99](https://github.com/microsoft/PSRule.Rules.CAF/pull/99) ## v0.4.0-B2204008 (pre-release) What's changed since v0.3.0: - Engineering: - - Bump PSRule to v2.0.0. [#90](https://github.com/microsoft/PSRule.Rules.CAF/pull/90) - - Bump PSRule.Rules.Azure to v1.14.1. [#94](https://github.com/microsoft/PSRule.Rules.CAF/pull/94) + - Bump PSRule to v2.0.0. + [#90](https://github.com/microsoft/PSRule.Rules.CAF/pull/90) + - Bump PSRule.Rules.Azure to v1.14.1. + [#94](https://github.com/microsoft/PSRule.Rules.CAF/pull/94) ## v0.3.0 diff --git a/modules.json b/modules.json index b2c77bb..73af697 100644 --- a/modules.json +++ b/modules.json @@ -1,10 +1,10 @@ { "dependencies": { "PSRule": { - "version": "2.1.0" + "version": "2.2.0" }, "PSRule.Rules.Azure": { - "version": "1.16.1" + "version": "1.17.1" } }, "devDependencies": { diff --git a/pipeline.build.ps1 b/pipeline.build.ps1 index df9b54a..de77f9f 100644 --- a/pipeline.build.ps1 +++ b/pipeline.build.ps1 @@ -260,13 +260,6 @@ task Dependencies NuGet, { Install-Dependencies -Path $PWD/modules.json; } -# Synopsis: Add shipit build tag -task TagBuild { - if ($Null -ne $Env:BUILD_DEFINITIONNAME) { - Write-Host "`#`#vso[build.addbuildtag]shipit"; - } -} - # Synopsis: Remove temp files. task Clean { Remove-Item -Path out,reports -Recurse -Force -ErrorAction SilentlyContinue; @@ -276,6 +269,6 @@ task Build Clean, BuildModule, VersionModule, BuildHelp task Test Build, Rules, TestModule -task Release ReleaseModule, TagBuild +task Release ReleaseModule task . Build, Test diff --git a/ps-project.yaml b/ps-project.yaml index c03f105..eef179b 100644 --- a/ps-project.yaml +++ b/ps-project.yaml @@ -16,8 +16,8 @@ bugs: url: https://github.com/Microsoft/PSRule.Rules.CAF/issues modules: - PSRule: ^1.9.0 - PSRule.Rules.Azure: ^1.9.1 + PSRule: ^2.2.0 + PSRule.Rules.Azure: ^1.17.1 tasks: clear: diff --git a/ps-rule.yaml b/ps-rule.yaml index 7ccb398..ca77882 100644 --- a/ps-rule.yaml +++ b/ps-rule.yaml @@ -6,7 +6,7 @@ # https://aka.ms/ps-rule/options requires: - PSRule: '@pre >=1.11.1' + PSRule: '@pre >=2.2.0' input: pathIgnore: diff --git a/src/PSRule.Rules.CAF/PSRule.Rules.CAF.psd1 b/src/PSRule.Rules.CAF/PSRule.Rules.CAF.psd1 index 32c423a..414afed 100644 --- a/src/PSRule.Rules.CAF/PSRule.Rules.CAF.psd1 +++ b/src/PSRule.Rules.CAF/PSRule.Rules.CAF.psd1 @@ -99,16 +99,16 @@ PrivateData = @{ Tags = @('PSRule', 'PSRule-rules', 'Rule', 'Azure', 'CAF', 'Cloud') # A URL to the license for this module. - LicenseUri = 'https://github.com/Microsoft/PSRule.Rules.CAF/blob/main/LICENSE' + LicenseUri = 'https://github.com/microsoft/PSRule.Rules.CAF/blob/main/LICENSE' # A URL to the main website for this project. - ProjectUri = 'https://github.com/Microsoft/PSRule.Rules.CAF' + ProjectUri = 'https://github.com/microsoft/PSRule.Rules.CAF' # A URL to an icon representing this module. # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = 'https://github.com/Microsoft/PSRule.Rules.CAF/blob/main/CHANGELOG.md' + ReleaseNotes = 'https://github.com/microsoft/PSRule.Rules.CAF/blob/main/CHANGELOG.md' } # End of PSData hashtable } # End of PrivateData hashtable