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/02/16 07:40:17 UTC
(plc4x) branch rel/0.12 updated: build: Added the "update-generated-code" to the release-prepare step.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new ac0aafa0dc build: Added the "update-generated-code" to the release-prepare step.
ac0aafa0dc is described below
commit ac0aafa0dc560467892602a22f32ff46389a2c0f
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Fri Feb 16 08:40:10 2024 +0100
build: Added the "update-generated-code" to the release-prepare step.
---
tools/release-2-prepare-release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/release-2-prepare-release.sh b/tools/release-2-prepare-release.sh
index a4b63aa331..a357d741c6 100755
--- a/tools/release-2-prepare-release.sh
+++ b/tools/release-2-prepare-release.sh
@@ -32,7 +32,7 @@ IFS='.' read -ra VERSION_SEGMENTS <<< "$RELEASE_VERSION"
NEW_VERSION="${VERSION_SEGMENTS[0]}.${VERSION_SEGMENTS[1]}.$((VERSION_SEGMENTS[2] + 1))-SNAPSHOT"
# 1. Do a simple release-prepare command
-../mvnw -f ../pom.xml -e -P with-c,with-dotnet,with-go,with-java,with-python,with-sandbox -Dmaven.repo.local=../out/.repository release:prepare -DautoVersionSubmodules=true -DreleaseVersion="$RELEASE_VERSION" -DdevelopmentVersion="$NEW_VERSION" -Dtag="v$RELEASE_VERSION"
+../mvnw -f ../pom.xml -e -P with-c,with-dotnet,with-go,with-java,with-python,with-sandbox,update-generated-code -Dmaven.repo.local=../out/.repository release:prepare -DautoVersionSubmodules=true -DreleaseVersion="$RELEASE_VERSION" -DdevelopmentVersion="$NEW_VERSION" -Dtag="v$RELEASE_VERSION"
if [ $? -ne 0 ]; then
echo "Got non-0 exit code from docker compose, aborting."
exit 1