diff options
author | rbuj <[email protected]> | 2020-02-26 10:20:00 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-02-27 22:16:41 +0100 |
commit | 658eb5e2b1cbb19e36621a74a39df2e2e19f62de (patch) | |
tree | 281ad4956c2be9aed07ba08bafc11b6c72590860 /update-authors.pl | |
parent | 2030aa2359a485c78086ec21779ba271ddfb369a (diff) | |
download | mate-terminal-658eb5e2b1cbb19e36621a74a39df2e2e19f62de.tar.bz2 mate-terminal-658eb5e2b1cbb19e36621a74a39df2e2e19f62de.tar.xz |
Use user page on github when user email is private
Diffstat (limited to 'update-authors.pl')
-rwxr-xr-x | update-authors.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update-authors.pl b/update-authors.pl index e844196..81a2f57 100755 --- a/update-authors.pl +++ b/update-authors.pl @@ -60,5 +60,9 @@ sub GetNewAuthors { my @A = GetCurrentAuthors; my @B = GetNewAuthors; +for (@B) { + s/<\d+\+(.+?)%users\.noreply\.github\.com>/<$1%users\.noreply\.github\.com>/; + s/<(.+?)%users\.noreply\.github\.com>/https:\/\/github.com\/$1/; +} my @merged = sort { $a cmp $b } keys %{{map {($_ => 1)} (@A, @B)}}; print join(';',@merged) . ';'; |