Skip to content

Commit

Permalink
Trigger full build when add-on is removed (#14680)
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Born <github@maindrain.net>
  • Loading branch information
wborn authored Mar 26, 2023
1 parent cbb72ed commit 8dd0028
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/maven-build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dd0028

Please sign in to comment.