diff options
author | Nate McMaster <natemcmaster@users.noreply.github.com> | 2018-01-30 21:38:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 21:38:09 +0300 |
commit | 5fae89b96249d17bb758fa19cca3f890aa7aa9d4 (patch) | |
tree | 2e7c0a38891731aebcd675c3d4e7183f1797df81 /run.ps1 | |
parent | 818bb50e43af30d7067997f06df29e030b150ee0 (diff) |
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
Diffstat (limited to 'run.ps1')
-rw-r--r-- | run.ps1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |