From 82442b81ae7a135447cedd794e65df65de3f84fa Mon Sep 17 00:00:00 2001 From: Jenny Li Date: Fri, 10 Dec 2021 10:45:54 +0800 Subject: [PATCH] [skip ci] Add comment for get_author_email.sh (#13138) Signed-off-by: Jenny Li --- tests/scripts/get_author_email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/get_author_email.sh b/tests/scripts/get_author_email.sh index 612b62345c..7b0cf0e37f 100755 --- a/tests/scripts/get_author_email.sh +++ b/tests/scripts/get_author_email.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# author emaill will be jenkins's email, when the pr branch is not fast forward compared with master branch set -e function get_author_email(){ email=$(git --no-pager show -s --format=\'%ae\' HEAD )