mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip e2e] Add comment for get_author_email.sh (#14257)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
baae7b583d
commit
e2cf0352db
@ -4,6 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
function get_author_email(){
|
function get_author_email(){
|
||||||
email=$(git --no-pager show -s --format=\'%ae\' HEAD )
|
email=$(git --no-pager show -s --format=\'%ae\' HEAD )
|
||||||
|
# Get last commit author when Jenkins submit a merge commit
|
||||||
if [[ "${email}" == \'nobody@nowhere\' ]]; then
|
if [[ "${email}" == \'nobody@nowhere\' ]]; then
|
||||||
email=$(git --no-pager show -s --format=\'%ae\' HEAD^ )
|
email=$(git --no-pager show -s --format=\'%ae\' HEAD^ )
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user