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 f91f6b5554 chore: Updated the version of the dotnet-sdk to allow
building plc4net in Docker.
f91f6b5554 is described below
commit f91f6b555482744828a32443a1ebe1eae89c9085
Author: Christofer Dutz <[email protected]>
AuthorDate: Thu Jul 31 17:52:09 2025 +0200
chore: Updated the version of the dotnet-sdk to allow building plc4net in
Docker.
---
Dockerfile | 2 +-
tools/release-0-update-generated-code.sh | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 5bf489002a..461384a246 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,7 +39,7 @@ RUN apt install -y software-properties-common
RUN add-apt-repository universe -y
RUN apt install -y apt-transport-https
RUN apt update -y
-RUN apt install -y dotnet-sdk-6.0
+RUN apt install -y dotnet-sdk-7.0
# Required for "with-python" profile
RUN apt install -y python3 python3-venv python3-pip
diff --git a/tools/release-0-update-generated-code.sh
b/tools/release-0-update-generated-code.sh
index f5318dcaaf..dbb75ab7b7 100755
--- a/tools/release-0-update-generated-code.sh
+++ b/tools/release-0-update-generated-code.sh
@@ -67,7 +67,7 @@ rm -r "$DIRECTORY/out"
echo "Deleting generated-sources:"
# Delete the PLC4J code (local)
-echo " - Deleting: PLC4J"
+echo " - Deleting: Generated code in PLC4J"
for dir in "$DIRECTORY/plc4j/drivers"/*; do
SRC_DIR="$dir/src/main/generated"
if [[ -d "$SRC_DIR" ]]; then
@@ -76,15 +76,15 @@ for dir in "$DIRECTORY/plc4j/drivers"/*; do
fi
done
# Delete the PLC4C code (local)
-echo " - Deleting: PLC4C"
+echo " - Deleting: Generated code in PLC4C"
echo "🧹 Deleting files in: $DIRECTORY/plc4c/generated-sources"
rm -r "$DIRECTORY/plc4c/generated-sources"
# Delete the PLC4Go code (local)
-echo " - Deleting: PLC4Go"
+echo " - Deleting: Generated code in PLC4Go"
echo "🧹 Deleting files in: $DIRECTORY/plc4go/protocols"
find "$DIRECTORY/plc4go/protocols" -mindepth 2 -type f ! \( -name
'StaticHelper.go' -o -name 'StaticHelper_test.go' \) -exec rm {} \;
# Delete the PLC4Net code (local)
-echo " - Deleting: generated files in $DIRECTORY/plc4net/drivers"
+echo " - Deleting: Generated code in PLC4Net"
for dir in "$DIRECTORY/plc4net/drivers"/*; do
# Delete generated classes
if [[ -d "$dir" && ! "$(basename "$dir")" =~ -test$ ]]; then