mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 07:02:02 +01:00
Trigger full build when add-on is removed (#14680)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
cbb72ed72e
commit
8dd0028315
5
.github/scripts/maven-build
vendored
5
.github/scripts/maven-build
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user