Skip to content

Commit 606c9eb

Browse files
bergmeisterJamesWTruher
authored andcommitted
fix release script by building also for v3 and misc. improvements (#996)
1 parent 7408fe2 commit 606c9eb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Utils/ReleaseMaker.psm1

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ function New-ReleaseBuild
9393
try
9494
{
9595
if ( test-path out ) { remove-item out/ -recurse -force }
96-
.\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
9796
.\buildCoreClr.ps1 -Framework net451 -Configuration PSV3Release -Build
97+
.\buildCoreClr.ps1 -Framework net451 -Configuration PSV4Release -Build
98+
.\buildCoreClr.ps1 -Framework net451 -Configuration Release -Build
9899
.\buildCoreClr.ps1 -Framework netstandard2.0 -Configuration Release -Build
99100
.\build.ps1 -BuildDocs
100101
}

build.ps1

+3-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ if ($BuildDocs)
9393
CreateIfNotExists($outputDocsPath)
9494

9595
# Build documentation using platyPS
96-
if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge 0.9 }))
96+
$requiredVersionOfplatyPS = 0.9
97+
if ($null -eq (Get-Module platyPS -ListAvailable -Verbose:$verbosity | Where-Object { $_.Version -ge $requiredVersionOfplatyPS }))
9798
{
98-
"Cannot find platyPS. Please install it from https://www.powershellgallery.com/packages/platyPS/ using e.g. the following command: Install-Module platyPS"
99+
"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"
99100
}
100101
if ((Get-Module platyPS -Verbose:$verbosity) -eq $null)
101102
{

0 commit comments

Comments
 (0)