f807afbf85
Signed-off-by: Tam Mach <sayboras@yahoo.com> Signed-off-by: wang yan <wangyan@vmware.com>
13 lines
No EOL
451 B
Bash
Executable file
13 lines
No EOL
451 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
if ! command -v git-validation; then
|
|
>&2 echo "ERROR: git-validation not found. Install with:"
|
|
>&2 echo " go get -u github.com/vbatts/git-validation"
|
|
exit 1
|
|
fi
|
|
|
|
verbosity="${DCO_VERBOSITY--v}"
|
|
echo $COMMIT_RANGE
|
|
GIT_CHECK_EXCLUDE="./vendor:./script/validate/template" git-validation "$verbosity" -range "5b98226afefa11a06ef0c652af4995177c0efda0..HEAD" -run DCO,short-subject,dangling-whitespace |