Update addrev to allow self-review on release
authorHugo Landau <hlandau@devever.net>
Fri, 13 May 2022 12:42:59 +0000 (13:42 +0100)
committerHugo Landau <hlandau@devever.net>
Fri, 13 May 2022 12:42:59 +0000 (13:42 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/tools/pull/117)

review-tools/gitaddrev

index ebebfc1a80226e898e05e2e308ffa5494a69eee0..8e5a4218482b08573050ff6912498d5901fd0664 100755 (executable)
@@ -58,7 +58,7 @@ sub try_add_reviewer {
             # $rc is made to hold and return the reviewer string if it's
             # valid to count that reviewer string.
             if (is_author($rev)) {
-                $rc = $rev if $min_authors > 0;
+                $rc = $rev if $min_authors > 0 || $release;
             } else {
                 $rc = $rev;
             }