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(
|
function CommitUpdatedVersions(
|
||||||
[hashtable]$updatedVars,
|
[hashtable]$updatedVars,
|
||||||
[xml]$dependencies,
|
[xml]$dependencies,
|
||||||
[string]$depsPath)
|
[string]$depsPath,
|
||||||
|
[string]$subject = 'Updating external dependencies')
|
||||||
{
|
{
|
||||||
$count = $updatedVars.Count
|
$count = $updatedVars.Count
|
||||||
if ($count -gt 0) {
|
if ($count -gt 0) {
|
||||||
& git add build\dependencies.props
|
& git add build\dependencies.props
|
||||||
|
|
||||||
$subject = "Updating external dependencies"
|
|
||||||
|
|
||||||
$gitConfigArgs = @()
|
$gitConfigArgs = @()
|
||||||
if ($env:GITHUB_USER) {
|
if ($env:GITHUB_USER) {
|
||||||
$gitConfigArgs += '-c',"user.name=$env:GITHUB_USER"
|
$gitConfigArgs += '-c',"user.name=$env:GITHUB_USER"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue