anki/.github/scripts/contrib.sh
2020-01-06 19:27:17 +10:00

7 lines
135 B
Bash
Executable File

#!/bin/bash
set -e
headAuthor=$(git log -1 --pretty=format:'%ae')
git log --pretty=format:'%ae' CONTRIBUTORS | grep -q "$headAuthor"