From 0cfeca9d9018cf88e930fd9f93cf53dc95835f6a Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Thu, 28 Apr 2022 11:09:25 -0300 Subject: [PATCH] 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. --- scripts/update-appup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-appup.sh b/scripts/update-appup.sh index 55bcc0122..9a099b025 100755 --- a/scripts/update-appup.sh +++ b/scripts/update-appup.sh @@ -101,7 +101,7 @@ else git fetch "$REMOTE" fi git reset --hard - git clean -fdx + git clean -ffdx git checkout "${PREV_TAG}" make "$PROFILE" popd