diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f2c7e3e6..455bb6476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,8 +28,14 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md) does not contain 'dsccommunity'. - Changed the VS Code project settings to trim trailing whitespace for markdown files too. - - Ensure that Test-TargetResourse in xWebSite tests all properties before - returning true or false, and that it uses a consistent style. ([issue #221](https://github.com/PowerShell/xWebAdministration/issues/550)) + - Update pipeline to use NuGetVersionV2 from `GitVersion`. + - Pinned PowerShell module Pester to v4.10.1 in the pipeline due to + tests is not yet compatible with Pester 5. + - Using latest version of the PowerShell module ModuleBuilder. + - Updated build.yaml to use the correct values. +- xWebSite + - Ensure that Test-TargetResource in xWebSite tests all properties before + returning true or false, and that it uses a consistent style ([issue #221](https://github.com/PowerShell/xWebAdministration/issues/550)). - xIisMimeTypeMapping - Update misleading localization strings - xIisLogging diff --git a/RequiredModules.psd1 b/RequiredModules.psd1 index 3354aec55..ef39a862d 100644 --- a/RequiredModules.psd1 +++ b/RequiredModules.psd1 @@ -1,16 +1,16 @@ @{ - PSDependOptions = @{ - AddToPath = $True + PSDependOptions = @{ + AddToPath = $true Target = 'output\RequiredModules' Parameters = @{ } } - invokeBuild = 'latest' + InvokeBuild = 'latest' PSScriptAnalyzer = 'latest' - pester = 'latest' + Pester = '4.10.1' Plaster = 'latest' - ModuleBuilder = '1.0.0' + ModuleBuilder = 'latest' ChangelogManagement = 'latest' Sampler = 'latest' MarkdownLinkCheck = 'latest' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a988c13b..97808a7bc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -33,7 +33,7 @@ stages: arguments: '-ResolveDependency -tasks pack' pwsh: true env: - ModuleVersion: $(gitVersion.InformationalVersion) + ModuleVersion: $(gitVersion.NuGetVersionV2) - task: PublishBuildArtifacts@1 displayName: 'Publish Build Artifact' inputs: diff --git a/build.yaml b/build.yaml index e04e06f28..308bb54d9 100644 --- a/build.yaml +++ b/build.yaml @@ -2,7 +2,7 @@ #################################################### # ModuleBuilder Configuration # #################################################### -CopyDirectories: +CopyPaths: - en-US - DSCResources - Modules