Add missing mungedoc run to hack/verify-munge-docs.sh.

Update CHANGELOG.md.
This commit is contained in:
David McMahon 2016-07-13 13:36:59 -07:00
parent 017965d6dc
commit f5ca4e888c
2 changed files with 14 additions and 1 deletions

View File

@ -57,6 +57,19 @@ if [[ $ret -gt 1 ]]; then
exit 1 exit 1
fi fi
"${mungedocs}" "--verify=true" "--verbose=true" \
"--upstream=${git_upstream}" \
"--skip-munges=unversioned-warning,analytics" \
"--norecurse" \
"--root-dir=${KUBE_ROOT}/" && ret=0 || ret=$?
if [[ $ret -eq 1 ]]; then
echo "${KUBE_ROOT}/ is out of date. Please run hack/update-munge-docs.sh"
exit 1
elif [[ $ret -gt 1 ]]; then
echo "Error running mungedocs."
exit 1
fi
needsanalytics=($(kube::util::gen-analytics "${KUBE_ROOT}" 1)) needsanalytics=($(kube::util::gen-analytics "${KUBE_ROOT}" 1))
if [[ ${#needsanalytics[@]} -ne 0 ]]; then if [[ ${#needsanalytics[@]} -ne 0 ]]; then
echo -e "Some md files are missing ga-beacon analytics link:" echo -e "Some md files are missing ga-beacon analytics link:"