Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Added check for TAG to make sure that recursive github submodule upda…
Browse files Browse the repository at this point in the history
…te is applied for release builds

Signed-off-by: Marcel Wagner <[email protected]>
  • Loading branch information
wagmarcel authored and oguzcankirmemis committed Nov 2, 2020
1 parent 6695081 commit b426400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ commands:
fi
git submodule init
git submodule update
if [ "$CIRCLE_BRANCH" = "develop" ] || [ "${BASE_BRANCH}" = "develop" ]; then
if [ "$CIRCLE_BRANCH" = "develop" ] || [ "${BASE_BRANCH}" = "develop" ] || [ ! -z "${CIRCLE_TAG}" ]; then
#If on develop or a PR towards develop assume that all submodules are updated
echo Detected that PR is related to develop. Will update all subrepos.
echo Detected that PR is related to develop or a TAG. Will update all subrepos.
make update
fi
build-branch:
Expand Down

0 comments on commit b426400

Please sign in to comment.