Allow specifying commit message for auto-generated commits
This commit is contained in:
parent
168be585d6
commit
c98b2d1089
|
|
@ -163,14 +163,13 @@ function Set-GithubInfo(
|
|||
function CommitUpdatedVersions(
|
||||
[hashtable]$updatedVars,
|
||||
[xml]$dependencies,
|
||||
[string]$depsPath)
|
||||
[string]$depsPath,
|
||||
[string]$subject = 'Updating external dependencies')
|
||||
{
|
||||
$count = $updatedVars.Count
|
||||
if ($count -gt 0) {
|
||||
& git add build\dependencies.props
|
||||
|
||||
$subject = "Updating external dependencies"
|
||||
|
||||
$gitConfigArgs = @()
|
||||
if ($env:GITHUB_USER) {
|
||||
$gitConfigArgs += '-c',"user.name=$env:GITHUB_USER"
|
||||
|
|
|
|||
Loading…
Reference in New Issue