Debug script
This commit is contained in:
parent
be6c3df029
commit
f5d7d165b0
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@
|
|||
commit_msg_file=$1
|
||||
first_line=$(head -n1 "$commit_msg_file")
|
||||
|
||||
if echo "$first_line" | grep -Eq '^(QUAL|SEC|PERF|FIX|CLOSE|NEW|Clean code|Debug v)'; then
|
||||
if echo "$first_line" | grep -Eqi '^(QUAL|SEC|PERF|FIX|CLOSE|NEW|Clean code|Debug)'; then
|
||||
exit 0
|
||||
else
|
||||
echo "Le message de commit doit commencer par QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug v..."
|
||||
echo "The commit message must start with QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug ..."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue