fix(update_appup): clean untracked nested git directories
Since the script copies the current workdir into the temporary directory for the previous build, when we latter try to clean the directory, `git clean -fdx` refuses to clean the folders of some dependencies: ``` + git clean -fdx Skipping repository _build/default/lib/lc ``` So, if the branch contains a dependency with changed version, it'll not be picked up by the script, as both versions will be identical and hence have no `.appup` difference.
This commit is contained in:
parent
f07bb5a5d1
commit
0cfeca9d90
|
@ -101,7 +101,7 @@ else
|
||||||
git fetch "$REMOTE"
|
git fetch "$REMOTE"
|
||||||
fi
|
fi
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git clean -fdx
|
git clean -ffdx
|
||||||
git checkout "${PREV_TAG}"
|
git checkout "${PREV_TAG}"
|
||||||
make "$PROFILE"
|
make "$PROFILE"
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue