diff --git a/Utils/ReleaseMaker.psm1 b/Utils/ReleaseMaker.psm1 index a5079e454..68868664a 100644 --- a/Utils/ReleaseMaker.psm1 +++ b/Utils/ReleaseMaker.psm1 @@ -93,8 +93,9 @@ function New-ReleaseBuild try { if ( test-path out ) { remove-item out/ -recurse -force } - .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build + .\buildCoreClr.ps1 -Framework net451 -Configuration PSV4Release -Build + .\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build .\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build .\build.ps1 -BuildDocs } diff --git a/build.ps1 b/build.ps1 index f34d857f4..46aa3a9c6 100644 --- a/build.ps1 +++ b/build.ps1 @@ -93,9 +93,10 @@ if ($BuildDocs) CreateIfNotExists($outputDocsPath) # Build documentation using platyPS - if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 })) + $requiredVersionOfplatyPS = 0.9 + if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge $requiredVersionOfplatyPS })) { - "Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" + "Cannot find required minimum version $requiredVersionOfplatyPS of platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS" } if ((Get-Module platyPS -Verbose:$verbosity) -eq $null) {