blob: 7c60900c4e3ce44894c51935f3da53a79b73c00f [file] [log] [blame]
#!/usr/bin/env bash
set -e -o pipefail
echo "Ensuring commit message format."
LINTER_MESSAGE=$(git log -1 --pretty=%B | ./.githooks/mandate-conventional-changelog.sh)
if [[ $LINTER_MESSAGE ]]; then
echo $LINTER_MESSAGE
exit 1
fi