From c98b2d1089574f1b10945696664e82a434cfddac Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Sun, 3 Jun 2018 20:40:21 -0700 Subject: [PATCH] Allow specifying commit message for auto-generated commits --- scripts/common.psm1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/common.psm1 b/scripts/common.psm1 index 7a1fb5011f..4f58c0c5ed 100644 --- a/scripts/common.psm1 +++ b/scripts/common.psm1 @@ -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"