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 }