Fixed suffix for commit message .githooks

This commit is contained in:
squidfunk 2017-03-16 18:52:36 +01:00 committed by Martin Donath
parent 7da699a3fe
commit 41df5e4d24

View File

@ -47,8 +47,8 @@ if [[ ${#FILES[@]} -gt 0 ]]; then
exit
fi
# Prefix the commit message with "[skip ci]"
sed -i '' '1s/$/ [skip ci]/' "$1"
# Don't build this commit
sed -i '' '1s/$/ [ci skip]/' "$1"
# We're good
exit 0