From: Thanh Ha Date: Wed, 14 Feb 2018 21:13:11 +0000 (-0500) Subject: Git submodule update after fetching patch X-Git-Tag: v0.17.0~11 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F8859%2F1;p=releng%2Fglobal-jjb.git Git submodule update after fetching patch For projects that have submodules we need to call `git submodule update` after fetching the patch so that submodule updates caused by the patch are pulled in. Running that command on a repo that does not contain submodules returns cleanly as a noop. Change-Id: Iec76e4c42d9e0132571af477f3ae770e5e360781 Signed-off-by: Thanh Ha --- diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 2074ecaf..bddc23bd 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -20,6 +20,7 @@ if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD +git submodule update echo "---> Generating docs" cd "$WORKSPACE"