Commit 4d70ec95 authored by David McMahon's avatar David McMahon

Regenerate docs (if necessary) during cherry-pick operations.

parent 0cff8393
...@@ -183,6 +183,15 @@ for pull in "${PULLS[@]}"; do ...@@ -183,6 +183,15 @@ for pull in "${PULLS[@]}"; do
done done
gitamcleanup=false gitamcleanup=false
# Re-generate docs (if needed)
echo
echo "Regenerating docs..."
if ! hack/generate-docs.sh; then
echo
echo "hack/generate-docs.sh FAILED to complete."
exit 1
fi
if [[ -n "${DRY_RUN}" ]]; then if [[ -n "${DRY_RUN}" ]]; then
echo "!!! Skipping git push and PR creation because you set DRY_RUN." echo "!!! Skipping git push and PR creation because you set DRY_RUN."
echo "To return to the branch you were in when you invoked this script:" echo "To return to the branch you were in when you invoked this script:"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment