commit
cda67a4c15
4
test.sh
4
test.sh
|
@ -53,6 +53,9 @@ fi
|
|||
# Check that cobra docs are up to date
|
||||
# This is done by generating new docs and then seeing if they are different than the committed docs
|
||||
echo "Checking help documentation..."
|
||||
if [[ $(git diff) ]]; then
|
||||
echo "Skipping help text check because the git state is dirty."
|
||||
else
|
||||
go run gen_help_text.go
|
||||
files=$(git diff)
|
||||
if [[ $files ]]; then
|
||||
|
@ -61,3 +64,4 @@ if [[ $files ]]; then
|
|||
else
|
||||
echo "Help text is up to date"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue