[skip ci] Add comment for get_author_email.sh (#13138)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2021-12-10 10:45:54 +08:00 committed by GitHub
parent cc0621b319
commit 82442b81ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 )