You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2024/01/06 13:26:33 UTC

(plc4x) 04/10: feat: Improved the script to check unstaged changes and to handle exit-codes of the docker build.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch feature/new-ui-tool
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 0f6e88f82121fd8610a85b40947a35de9bdc5ba3
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Sat Jan 6 13:32:16 2024 +0100

    feat: Improved the script to check unstaged changes and to handle exit-codes of the docker build.
---
 tools/release-0-update-generated-code.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/release-0-update-generated-code.sh b/tools/release-0-update-generated-code.sh
index 7eb86eb15b..abaf150067 100755
--- a/tools/release-0-update-generated-code.sh
+++ b/tools/release-0-update-generated-code.sh
@@ -44,7 +44,7 @@ docker compose run --rm --abort-on-container-exit releaser bash /ws/mvnw -e -P w
 if [ $? -ne 0 ]; then
     echo "Got non-0 exit code from docker compose, aborting."
     exit 1
-done
+fi
 
 # 4. Add all new files to Git (localhost)
 # TODO: Possibly only add items in a generated directory ...