ci: Clean submodules after fetching sources

Assuming no submodule dirs contain artifacts that we can't clean
This commit is contained in:
Angus Gratton 2020-01-14 16:28:18 +10:00 committed by Angus Gratton
parent 143d26aa49
commit 2b6021cc31

View file

@ -41,6 +41,8 @@ update_submodules() {
else
${SCRIPT_DIR}/mirror-submodule-update.sh || return $?
fi
# possibility that there are some untracked files left in submodule working directories
git submodule foreach --recursive git clean -ffdx
}
del_files() {