fix: fix scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/462/head
Xinwei Xiong(cubxxw-openim) 1 year ago
parent 21789bd7ac
commit f1b82e1297

@ -56,7 +56,8 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
}
# TODO: go-gitlint dir set
GITLINT_DIR="./_output/tools/go-gitlint"
OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
GITLINT_DIR="$OPENIM_ROOT/_output/tools/go-gitlint"
$GITLINT_DIR \
--msg-file=$1 \

@ -19,7 +19,6 @@ set +o nounset
set -o pipefail
# Unset CDPATH so that path interpolation can work correctly
# https://github.com/iamrnetes/iamrnetes/issues/52255
unset CDPATH
# Default use go modules

Loading…
Cancel
Save