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

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 22a4cdfd3e chore: Made sure no StaticHelper-test.go file is deleted 
during the re-generation.
22a4cdfd3e is described below

commit 22a4cdfd3e56074951929ff2a6f87fbab929aaf9
Author: Christofer Dutz <[email protected]>
AuthorDate: Thu Apr 10 23:19:31 2025 +0200

    chore: Made sure no StaticHelper-test.go file is deleted during the 
re-generation.
---
 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 ead4aa63eb..c21be14064 100755
--- a/tools/release-0-update-generated-code.sh
+++ b/tools/release-0-update-generated-code.sh
@@ -75,7 +75,7 @@ echo " - Deleting:  $DIRECTORY/plc4c/generated-sources"
 rm -r "$DIRECTORY/plc4c/generated-sources"
 # Delete the PLC4Go code (local)
 echo " - Deleting:  generated files in $DIRECTORY/plc4c/generated-sources"
-find "$DIRECTORY/plc4go/protocols" -mindepth 2 -type f ! -name 
'StaticHelper.go' -exec rm -v {} \;
+find "$DIRECTORY/plc4go/protocols" -mindepth 2 -type f ! \( -name 
'StaticHelper.go' -o -name 'StaticHelper-test.go' \) -exec rm -v {} \;
 echo " - Deleting:  generated files in $DIRECTORY/plc4net/drivers"
 for dir in "$DIRECTORY/plc4net/drivers"/*; do
     # Delete generated classes

Reply via email to