storj/scripts/check-dbx-version.sh
Egon Elbre ecde1bd251 jenkins: use -race for check-imports and fix dbx check (#1873)
What: Use -race for check-imports, this means it will use the cached build files.

Why:
2019-05-01 09:44:12 -06:00

11 lines
200 B
Bash
Executable File

#!/bin/bash
CHANGES=$(grep -r --include="*.dbx.go" regexp.MustCompile .)
if [ -z "$CHANGES" ]
then
echo "dbx version ok"
else
echo "please use latest dbx tool to generate code"
exit 1
fi