diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6e2ba23ed1e793e8072ff66bfa71531f5637010..e0272a1524b72a3895e0750863dc86dcb8c9cb2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,8 +73,7 @@ stages: - if [ -d wolf ]; then - echo "directory wolf exists" - cd wolf - - git checkout devel - - git pull + - git fetch --all - git checkout $WOLF_CORE_BRANCH - git pull - else @@ -92,10 +91,10 @@ stages: - if [ -d gnss_utils ]; then - echo "directory gnss_utils exists" - cd gnss_utils - - git checkout main - - git pull + - git fetch --all - git checkout ${GNSSUTILS_BRANCH} - git pull + - git submodule update - else - git clone -b ${GNSSUTILS_BRANCH} ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/gauss_project/gnss_utils.git - cd gnss_utils