From 8d7e9b737ad067c1d4d4b6b90fadbcec4d9fd9ca Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 28 Nov 2017 14:37:10 -0800 Subject: [PATCH] Update Internal.AspNetCore.Sdk --- build/dependencies.props | 2 +- scripts/UpdateBuildTools.ps1 | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/build/dependencies.props b/build/dependencies.props index c56ba0639c..c3b6a20a00 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -208,7 +208,7 @@ https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json - 2.1.0-preview1-15551 + $(KoreBuildVersion) diff --git a/scripts/UpdateBuildTools.ps1 b/scripts/UpdateBuildTools.ps1 index 6452aca990..34aff524e3 100755 --- a/scripts/UpdateBuildTools.ps1 +++ b/scripts/UpdateBuildTools.ps1 @@ -64,16 +64,6 @@ try { exit 0 } - $deps = Get-Content "$RepoRoot/build/dependencies.props" ` - | % { - if ($_ -like '**') { - " $newVersion" - } else { - $_ - } - } - $deps | Set-Content -Encoding UTF8 "$RepoRoot/build/dependencies.props" - Invoke-Block { git add "$RepoRoot/korebuild-lock.txt" } Invoke-Block { git add "$RepoRoot/build/dependencies.props" } @@ -85,11 +75,11 @@ try { $gitConfigArgs = @() if ($GitAuthorName) { - $gitConfigArgs += '-c',"user.name=$GitAuthorName" + $gitConfigArgs += '-c', "user.name=$GitAuthorName" } if ($GitAuthorEmail) { - $gitConfigArgs += '-c',"user.email=$GitAuthorEmail" + $gitConfigArgs += '-c', "user.email=$GitAuthorEmail" } Invoke-Block { git @gitConfigArgs commit -m $message @GitCommitArgs }