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:53:53 UTC
(plc4x) 03/04: chore: Also delete the plc4x generated files.
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 310389f5636064cc8314652f413ce271a792ce2b
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Sat Jan 6 14:34:19 2024 +0100
chore: Also delete the plc4x generated files.
---
tools/release-0-update-generated-code.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/release-0-update-generated-code.sh b/tools/release-0-update-generated-code.sh
index 70e9d734ae..e9f95dfbec 100755
--- a/tools/release-0-update-generated-code.sh
+++ b/tools/release-0-update-generated-code.sh
@@ -39,8 +39,8 @@ do
rm -r $f
done
# Delete the PLC4C code
-echo " - Deleting: " $DIRECTORY "/plc4c/generated-sources"
-rm -r $DIRECTORY "/plc4c/generated-sources"
+echo " - Deleting: $DIRECTORY/plc4c/generated-sources"
+rm -r "$DIRECTORY/plc4c/generated-sources"
# 3. Run the maven build for all modules with "update-generated-code" enabled (Docker container)
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