Add task to update the Markdown help files with new commands.

This commit is contained in:
Wes Carroll
2019-06-06 11:20:29 -04:00
parent ba4f0fc82a
commit 8581c037d7
+6
View File
@@ -89,6 +89,12 @@ task UpdateMarkdownHelp CheckPlatyPSInstalled, {
Update-MarkDownHelp -Path docs -AlphabeticParamsOrder
}
task UpdateMarkdownHelpModule CheckPlatyPSInstalled, {
remove-module ZertoApiWrapper -force -ErrorAction SilentlyContinue
Import-Module .\ZertoApiWrapper\ZertoApiWrapper.psm1 -Force
Update-MarkDownHelpModule -Path docs -AlphabeticParamsOrder
}
task CreatePsd1ForRelease CleanTemp, {
$functionsToExport = Get-ChildItem -Path 'ZertoApiWrapper\Public\*.ps1' | ForEach-Object { $_.BaseName }
$releaseNotes = "# {0}{1}" -f $version, $(Get-Content .\RELEASENOTES.md -Raw)