From 7f881421d80e7acee6badc9f0dc5dd01e580f881 Mon Sep 17 00:00:00 2001 From: Forest Anderson Date: Mon, 29 Apr 2019 02:23:33 +0000 Subject: [PATCH] Fix get submodule on build Former-commit-id: 6f39cadd9ec71c570e1515a34dfeb8b670c1e52a --- .gitlab-ci.yml | 2 +- .gitmodules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ad2f13bc9..dd4b68f3ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ before_script: git pull "https://gitlab.com/${SOURCE_PROJECT}/veloren.git" "${SOURCE_BRANCH}"; fi; - git submodule sync --recursive - - git submodule update --remote --recursive + - git submodule update --init --recursive --depth 20 - git status - if [ -d target ]; then ls -la target; diff --git a/.gitmodules b/.gitmodules index 8bc3550784..64ed06aa47 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "assets/voxygen"] path = assets/voxygen - url = https://gitlab.com/veloren/fresh-assets/voxygen.git + url = ../../veloren/fresh-assets/voxygen.git shallow = true