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:35 UTC
(plc4x) 06/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 82b564692b652f72000974d1c891b64b6f73fa28
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Sat Jan 6 13:34:50 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 f10bbba5d4..e39481a964 100755
--- a/tools/release-0-update-generated-code.sh
+++ b/tools/release-0-update-generated-code.sh
@@ -40,7 +40,7 @@ do
done
# 3. Run the maven build for all modules with "update-generated-code" enabled (Docker container)
-docker compose run --rm --exit-code-from releaser releaser bash /ws/mvnw -e -P with-c,with-dotnet,with-go,with-python,with-sandbox,enable-all-checks,update-generated-code -Dmaven.repo.local=/ws/out/.repository clean package
+docker compose run --rm releaser bash /ws/mvnw -e -P with-c,with-dotnet,with-go,with-python,with-sandbox,enable-all-checks,update-generated-code -Dmaven.repo.local=/ws/out/.repository clean package
if [ $? -ne 0 ]; then
echo "Got non-0 exit code from docker compose, aborting."
exit 1