Merge branch 'release/2.1' into dev

This commit is contained in:
Nate McMaster 2018-05-08 21:52:55 -07:00
commit 32a80bef78
No known key found for this signature in database
GPG Key ID: A778D9601BD78810
2 changed files with 10 additions and 2 deletions

View File

@ -21,7 +21,6 @@
https://vside.myget.org/F/vssdk/api/v3/index.json;
https://vside.myget.org/F/vsmac/api/v3/index.json;
https://www.myget.org/F/xunit/api/v3/index.json;
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json;
</RestoreSources>
</PropertyGroup>
</Project>

View File

@ -171,7 +171,16 @@ function CommitUpdatedVersions(
$subject = "Updating external dependencies"
Invoke-Block { & git commit -m $subject } | Out-Null
$gitConfigArgs = @()
if ($env:GITHUB_USER) {
$gitConfigArgs += '-c',"user.name=$env:GITHUB_USER"
}
if ($env:GITHUB_EMAIL) {
$gitConfigArgs += '-c',"user.email=$env:GITHUB_EMAIL"
}
Invoke-Block { & git @gitConfigArgs commit -m $subject } | Out-Null
$body = "$subject`n`n"