storj/scripts/check-dbx-version.sh
2019-03-22 15:14:17 +02:00

10 lines
189 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"
fi