[skip ci] Add comment for get author email (#13478)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
pull/13493/head
Jenny Li 2021-12-16 09:19:22 +08:00 committed by GitHub
parent 1853ed6a00
commit 3eb7aaaecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/bash
# author emaill will be jenkins's email, when the pr branch is not fast forward compared with master branch
# Exit immediately for non zero status
set -e
function get_author_email(){
email=$(git --no-pager show -s --format=\'%ae\' HEAD )