From 5419ed9278d0461b70be6fcc13f68315fc127d7d Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Tue, 25 Sep 2018 09:38:07 -0700 Subject: [PATCH] [Ignore] Fix attribution error in changelog script, update my email (#1539) --- tools/Get-PowerShellExtensionChangelog.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/Get-PowerShellExtensionChangelog.ps1 b/tools/Get-PowerShellExtensionChangelog.ps1 index a06022b037..e0b14b408c 100644 --- a/tools/Get-PowerShellExtensionChangelog.ps1 +++ b/tools/Get-PowerShellExtensionChangelog.ps1 @@ -52,7 +52,7 @@ $Script:powershell_team = @( $Script:powershell_team_emails = @( "tylerl0706@gmail.com" - "rjmholt@gmail.com" + "rjmholt_msft@outlook.com" ) # Very active contributors; keep their email-login mappings here to save a few queries to Github. @@ -311,6 +311,7 @@ function Get-ChangeLog $message = $commit.Subject } + $userToThank = $null if (-not ($commit.AuthorEmail.EndsWith("@microsoft.com") -or ($powershell_team -contains $commit.AuthorName) -or ($powershell_team_emails -contains $commit.AuthorEmail))) { if ($Script:community_login_map.ContainsKey($commit.AuthorEmail)) { $commit.AuthorGitHubLogin = $Script:community_login_map[$commit.AuthorEmail]