system-agent/scripts/validate-ci

16 lines
169 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/..
go generate
source ./scripts/version
if [ -n "$DIRTY" ]; then
echo Git is dirty
git status
git diff
exit 1
fi