diff --git a/scripts/githooks/commit-msg b/scripts/githooks/commit-msg index bc76a56..66d3d8b 100644 --- a/scripts/githooks/commit-msg +++ b/scripts/githooks/commit-msg @@ -54,6 +54,7 @@ GITLINT_DIR="./_output/tools/go-gitlint" if ! command -v $GITLINT_DIR &>/dev/null; then echo "$GITLINT_DIR not found. Attempting to install it..." # Add the commands to download and install the go-gitlint tool here + go get github.com/stevemao/go-gitlint if [ $? -ne 0 ]; then printError "Failed to install $GITLINT_DIR. Please run 'make tools' OR 'make tools.verify.go-gitlint' make verto install it manually." exit 1