diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-08-27 01:07:39 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-08-27 01:07:39 +0200 |
commit | 87c1b5fe8d22b870d298967cc83e25aee8616c9e (patch) | |
tree | f78a1aadb25f87bc8f7b1fd6f8a177e826dbee98 | |
parent | 3753d9f2af8d1807aaeee7513fa1bb5c80932c42 (diff) |
Update also git submodules after re-setting to commit version
Change-Id: I625c64859ff613f8bc5ea2574503273535e89bd0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | jjb/common/include-apps-build-app.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/common/include-apps-build-app.sh b/jjb/common/include-apps-build-app.sh index 0febb1a1..cd742587 100644 --- a/jjb/common/include-apps-build-app.sh +++ b/jjb/common/include-apps-build-app.sh @@ -63,6 +63,12 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t sleep 2 # if not reset, we leave it to master fi + + # update git submodules + if test -f .gitmodules ; then + git submodule init && git submodule update + fi + git log -1 --pretty=oneline # Fixme: use aglbuild script |