From 5fae89b96249d17bb758fa19cca3f890aa7aa9d4 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 30 Jan 2018 10:38:09 -0800 Subject: Update versions to include prodcon build id (#819) * Update versions to include prodcon build id * Ensure version metadata does not appear in the package version * Update build tools --- run.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'run.ps1') diff --git a/run.ps1 b/run.ps1 index cab9fbe6e7..29f826e9aa 100644 --- a/run.ps1 +++ b/run.ps1 @@ -44,6 +44,9 @@ The path to the configuration file that stores values. Defaults to korebuild.jso .PARAMETER RestoreSources (optional) Semi-colon delimited list of additional NuGet feeds to use as part of restore. +.PARAMETER ProductBuildId +(optional) The product build ID for correlation with orchestrated builds. + .PARAMETER MSBuildArguments Additional MSBuild arguments to be passed through. @@ -83,6 +86,7 @@ param( [string]$AccessTokenSuffix = $null, [string]$RestoreSources = $null, [string]$AssetRootUrl = $null, + [string]$ProductBuildId = $null, [Parameter(ValueFromRemainingArguments = $true)] [string[]]$MSBuildArguments ) @@ -221,6 +225,10 @@ if ($AccessTokenSuffix) { $MSBuildArguments += "-p:DotNetAssetRootAccessTokenSuffix=$AccessTokenSuffix" } +if ($ProductBuildId) { + $MSBuildArguments += "-p:DotNetProductBuildId=$ProductBuildId" +} + # Execute $korebuildPath = Get-KoreBuild -- cgit v1.2.3