Update Internal.AspNetCore.Sdk

This commit is contained in:
Ryan Brandenburg 2017-11-28 14:37:10 -08:00
parent 0d18f1e6f7
commit 8d7e9b737a
2 changed files with 3 additions and 13 deletions

View File

@ -208,7 +208,7 @@
<!-- ASP.NET Core Tools feed -->
<PropertyGroup>
<AspNetCoreToolsFeed>https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json</AspNetCoreToolsFeed>
<InternalAspNetCoreSdkPackageVersion>2.1.0-preview1-15551</InternalAspNetCoreSdkPackageVersion>
<InternalAspNetCoreSdkPackageVersion>$(KoreBuildVersion)</InternalAspNetCoreSdkPackageVersion>
</PropertyGroup>
<ItemGroup>

View File

@ -64,16 +64,6 @@ try {
exit 0
}
$deps = Get-Content "$RepoRoot/build/dependencies.props" `
| % {
if ($_ -like '*<InternalAspNetCoreSdkPackageVersion>*') {
" <InternalAspNetCoreSdkPackageVersion>$newVersion</InternalAspNetCoreSdkPackageVersion>"
} 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 }