From 8dd00283150376dc51cb7729dced1dea2be909b4 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 26 Mar 2023 12:50:50 +0200 Subject: [PATCH] Trigger full build when add-on is removed (#14680) Signed-off-by: Wouter Born --- .github/scripts/maven-build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/scripts/maven-build b/.github/scripts/maven-build index 6a3a2f7c0aa..e30e1532c8e 100755 --- a/.github/scripts/maven-build +++ b/.github/scripts/maven-build @@ -94,7 +94,10 @@ function build_addon() { function build_based_on_changes() { local changed_addon=$(changed_addons | xargs) - if [ $(echo $changed_addon | wc -w) -eq 1 ] && [ $(addon_unrelated_changed_files $changed_addon | wc -l) -eq 0 ]; then + if [ $(echo $changed_addon | wc -w) -eq 1 ] && \ + [ $(addon_unrelated_changed_files $changed_addon | wc -l) -eq 0 ] && \ + [ -d "./bundles/$changed_addon" ] + then build_addon $changed_addon else build_all