diff --git a/AUTHORS.txt b/AUTHORS.txt index d4ac9381d..f16b2c853 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,5 +1,6 @@ CONTRIBUTORS ordered by first contribution. * winlin +* chengli.ycl * wenjie.zhao<740936897@qq.com> * xiangcheng.liu * naijia.liu @@ -58,13 +59,16 @@ CONTRIBUTORS ordered by first contribution. * XiaLixin * xiaozhihong * HuyaJohn +* xiaozhihong * yanghuiwen * Bepartofyou<309554135@qq.com> +* pengqiang.wpq * l<22312935+lam2003@users.noreply.github.com> * xfalcon -* cgh -* LiPeng -* xiaozhihong +* chengh_math +* jinxue.cgh +* lipeng19811218 +* mozhan.lp * yajun18 * liulichuan * yapingcat diff --git a/trunk/scripts/new_authors.sh b/trunk/scripts/new_authors.sh index 196d56b56..51e33d747 100755 --- a/trunk/scripts/new_authors.sh +++ b/trunk/scripts/new_authors.sh @@ -7,14 +7,11 @@ authors=`git log --format='%ae'|grep -v localhost|grep -v demo|grep -v none|sort if [[ $? -ne 0 ]]; then echo "no authors"; exit -1; fi for author in $authors; do - echo $author| grep 'winlin' >/dev/null 2>&1 && continue; - echo $author| grep 'winterserver' >/dev/null 2>&1 && continue; - echo $author| grep 'chengli.ycl' >/dev/null 2>&1 && continue; - echo $author| grep 'wenjie.zhao' >/dev/null 2>&1 && continue; - echo $author| grep 'zhaowenjie' >/dev/null 2>&1 && continue; - echo $author| grep 'pengqiang.wpq' >/dev/null 2>&1 && continue; + echo $author| grep -e "winlin" -e 'winterserver' \ + -e 'zhaowenjie' >/dev/null 2>&1 && continue; - grep $author $AFILE 1>/dev/null 2>/dev/null && continue; + username=$(echo $author |awk -F '@' '{print $1}') + grep $username $AFILE 1>/dev/null 2>/dev/null && continue; git log -1 --author="$author" --format='%an<%ae>'| sed 's/ //g' done