mirror of https://github.com/milvus-io/milvus.git
[skip ci] fix get author email (#13122)
Signed-off-by: Jenny Li <jing.li@zilliz.com>pull/13116/merge
parent
2c6c74669f
commit
c5a17e1531
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
function get_author_email(){
|
||||
email=$(git --no-pager show -s --format=\'%ae\' HEAD )
|
||||
if [[ "${email}" == 'nobody@nowhere' ]]; then
|
||||
if [[ "${email}" == \'nobody@nowhere\' ]]; then
|
||||
email=$(git --no-pager show -s --format=\'%ae\' HEAD^ )
|
||||
fi
|
||||
echo ${email} | sed $'s/\'//g'
|
||||
|
|
Loading…
Reference in New Issue