Merge branch 'release/2.1' into dev
This commit is contained in:
commit
32a80bef78
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue