ci: Clean submodules after fetching sources
Assuming no submodule dirs contain artifacts that we can't clean
This commit is contained in:
parent
1d7fdf42d5
commit
37fc756875
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ update_submodules() {
|
||||||
else
|
else
|
||||||
${SCRIPT_DIR}/mirror-submodule-update.sh || return $?
|
${SCRIPT_DIR}/mirror-submodule-update.sh || return $?
|
||||||
fi
|
fi
|
||||||
|
# possibility that there are some untracked files left in submodule working directories
|
||||||
|
git submodule foreach --recursive git clean -ffdx
|
||||||
}
|
}
|
||||||
|
|
||||||
del_files() {
|
del_files() {
|
||||||
|
|
Loading…
Reference in a new issue