case insensitive contributor compare
https://github.com/ankitects/anki/pull/428
This commit is contained in:
parent
b4c8eaf4bb
commit
b821209f83
2
.github/scripts/contrib.sh
vendored
2
.github/scripts/contrib.sh
vendored
@ -9,7 +9,7 @@ git log --pretty=format:' - %ae' CONTRIBUTORS |sort |uniq |sort -f | sed "s/@/$a
|
|||||||
|
|
||||||
headAuthor=$(git log -1 --pretty=format:'%ae')
|
headAuthor=$(git log -1 --pretty=format:'%ae')
|
||||||
authorAt=$(echo "$headAuthor" | sed "s/@/$antispam/")
|
authorAt=$(echo "$headAuthor" | sed "s/@/$antispam/")
|
||||||
if git log --pretty=format:'%ae' CONTRIBUTORS | grep -q "$headAuthor"; then
|
if git log --pretty=format:'%ae' CONTRIBUTORS | grep -qi "$headAuthor"; then
|
||||||
echo "Author $authorAt found in CONTRIBUTORS"
|
echo "Author $authorAt found in CONTRIBUTORS"
|
||||||
else
|
else
|
||||||
echo "Author $authorAt NOT found in list"
|
echo "Author $authorAt NOT found in list"
|
||||||
|
Loading…
Reference in New Issue
Block a user