mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #46993 from david-mcmahon/gen-docs
Automatic merge from submit-queue Regenerate docs (if necessary) during cherry-pick operations. This change ensures that cherrypicks are coupled with any related doc generation required. closes #44533
This commit is contained in:
commit
98c868d038
@ -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:"
|
||||||
|
Loading…
Reference in New Issue
Block a user