Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate McMaster <natemcmaster@users.noreply.github.com>2018-01-30 21:38:09 +0300
committerGitHub <noreply@github.com>2018-01-30 21:38:09 +0300
commit5fae89b96249d17bb758fa19cca3f890aa7aa9d4 (patch)
tree2e7c0a38891731aebcd675c3d4e7183f1797df81 /run.ps1
parent818bb50e43af30d7067997f06df29e030b150ee0 (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.ps18
1 files changed, 8 insertions, 0 deletions
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