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 989de4d2d6 chore: Fine-tuned the release scripts a bit more.
989de4d2d6 is described below
commit 989de4d2d6baa292dc307babf6470748de5be3b4
Author: Christofer Dutz <[email protected]>
AuthorDate: Sat Aug 2 16:43:12 2025 +0200
chore: Fine-tuned the release scripts a bit more.
---
tools/release-1-create-branch.sh | 1 -
tools/release-2-prepare-release.sh | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/release-1-create-branch.sh b/tools/release-1-create-branch.sh
index bf1fccde22..7bddebaa58 100755
--- a/tools/release-1-create-branch.sh
+++ b/tools/release-1-create-branch.sh
@@ -72,7 +72,6 @@ fi
git -C "$DIRECTORY" add --all
git -C "$DIRECTORY" commit -m "chore: updated generated code"
-
########################################################################################################################
# 5. Do a simple maven branch command with pushChanges=false
########################################################################################################################
diff --git a/tools/release-2-prepare-release.sh
b/tools/release-2-prepare-release.sh
index 6571f6201f..c017145207 100755
--- a/tools/release-2-prepare-release.sh
+++ b/tools/release-2-prepare-release.sh
@@ -91,7 +91,7 @@ fi
########################################################################################################################
echo "Signing artifacts:"
-find $DIRECTORY/out/.local-artifacts-dir -print | grep -E
'^((.*\.pom)|(.*\.jar)|(.*\.kar)|(.*\.nar)|(.*-features\.xml)|(.*-cyclonedx\.json)|(.*-cyclonedx\.xml)|(.*-site\.xml)|(.*\.zip))$'
| while read -r line ; do
+find "$DIRECTORY/out/.local-artifacts-dir" -print | grep -E
'^((.*\.pom)|(.*\.jar)|(.*\.kar)|(.*\.nar)|(.*-features\.xml)|(.*-cyclonedx\.json)|(.*-cyclonedx\.xml)|(.*-site\.xml)|(.*\.zip))$'
| while read -r line ; do
echo "Processing $line"
if ! gpg -ab "$line"; then
echo "❌ Got non-0 exit code from signing artifact, aborting."
@@ -112,7 +112,7 @@ echo "Deploying artifacts:"
STAGING_PROFILE_ID=15cd9d785359f8
# Clean up any pre-existing properties file, as otherwise we'll also deploy
that,
# and that will cause errors when closing.
-rm "$DIRECTORY/out/.local-artifacs-dir/$STAGING_PROFILE_ID.properties"
+rm "$DIRECTORY/out/.local-artifacts-dir/$STAGING_PROFILE_ID.properties"
if ! "$DIRECTORY/mvnw" -f "$DIRECTORY/tools/stage.pom"
nexus-staging:deploy-staged-repository -DstagingProfileId=$STAGING_PROFILE_ID;
then
echo "❌ Got non-0 exit code from staging artifacts, aborting."
exit 1