From 0a7a17b5a1922fb86ca83c4db0b69a482313cf35 Mon Sep 17 00:00:00 2001 From: Brandon Olin Date: Sun, 14 Mar 2021 16:38:31 -0700 Subject: [PATCH] Fix bug in precondition IB task GenerateMarkdown --- CHANGELOG.md | 6 ++++++ PowerShellBuild/IB.tasks.ps1 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e27d4e6..1bec773 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.6.1] 2021-03-14 + +### Fixed + +- Fixed bug in IB task `GenerateMarkdown` when dot sourcing precondition + ## [0.6.0] 2021-03-14 ### Changed diff --git a/PowerShellBuild/IB.tasks.ps1 b/PowerShellBuild/IB.tasks.ps1 index fe4ea37..3970f7c 100644 --- a/PowerShellBuild/IB.tasks.ps1 +++ b/PowerShellBuild/IB.tasks.ps1 @@ -115,7 +115,7 @@ $genMarkdownPreReqs = { } # Synopsis: Generates PlatyPS markdown files from module help -task GenerateMarkdown -if ($genMarkdownPreReqs) StageFiles,{ +task GenerateMarkdown -if (. $genMarkdownPreReqs) StageFiles,{ $buildMDParams = @{ ModulePath = $PSBPreference.Build.ModuleOutDir ModuleName = $PSBPreference.General.ModuleName