diff --git a/CHANGELOG.md b/CHANGELOG.md index 79e8374..76233a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.7.1] 2025-04-01 + +### Fixes + +- Fix a bug in `Build-PSBuildMarkdown` where a hashtable item was added twice. + ## [0.7.0] 2025-03-31 ### Changed diff --git a/PowerShellBuild/PowerShellBuild.psd1 b/PowerShellBuild/PowerShellBuild.psd1 index 2f59838..d9fcae9 100644 --- a/PowerShellBuild/PowerShellBuild.psd1 +++ b/PowerShellBuild/PowerShellBuild.psd1 @@ -1,6 +1,6 @@ @{ RootModule = 'PowerShellBuild.psm1' - ModuleVersion = '0.7.0' + ModuleVersion = '0.7.1' GUID = '15431eb8-be2d-4154-b8ad-4cb68a488e3d' Author = 'Brandon Olin' CompanyName = 'Community' diff --git a/PowerShellBuild/Public/Build-PSBuildMarkdown.ps1 b/PowerShellBuild/Public/Build-PSBuildMarkdown.ps1 index 36a71d8..7ce7d46 100644 --- a/PowerShellBuild/Public/Build-PSBuildMarkdown.ps1 +++ b/PowerShellBuild/Public/Build-PSBuildMarkdown.ps1 @@ -57,12 +57,11 @@ function Build-PSBuildMarkdown { # ErrorAction set to SilentlyContinue so this command will not overwrite an existing MD file. $newMDParams = @{ - Module = $ModuleName - Locale = $Locale + Module = $ModuleName + Locale = $Locale OutputFolder = [IO.Path]::Combine($DocsPath, $Locale) - ErrorAction = 'SilentlyContinue' - Verbose = $VerbosePreference - Force = $Overwrite + ErrorAction = 'SilentlyContinue' + Verbose = $VerbosePreference } if ($Overwrite) { $newMDParams.Add('Force', $true)