From cf05f59214c054c8b52373dacfc5cfc7d7355ae8 Mon Sep 17 00:00:00 2001 From: Yanis Viola Date: Thu, 10 Jul 2025 11:59:25 +0200 Subject: [PATCH] [issue #4] AppRegistryExecutor: fix pre/post-tasks execution at builder level --- socon_embedded/executor/app_executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socon_embedded/executor/app_executor.py b/socon_embedded/executor/app_executor.py index 786eb2c..0902538 100644 --- a/socon_embedded/executor/app_executor.py +++ b/socon_embedded/executor/app_executor.py @@ -108,7 +108,7 @@ def build( for build_config in build_configs: # Run the build config tasks - task_player.run(build_config.tasks) + task_player.run(build_config.builder.tasks) # Create a build info object build_info = build_config.create_buildinfo() @@ -150,7 +150,7 @@ def build( # Run the post build configs only if we decided not to stop # building. - task_player.run(build_config.post_tasks) + task_player.run(build_config.builder.post_tasks) # Run the post application config tasks task_player.run(app_config.post_tasks)