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

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

commit 8dbc854723b4a22da25bb1f773cd8e34b457c8e9
Author: Christofer Dutz <christofer.d...@c-ware.de>
AuthorDate: Sat Aug 23 09:01:48 2025 +0200

    chore: Improved the "abort" script.
---
 tools/release-abort.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/release-abort.sh b/tools/release-abort.sh
index 3016f3a2ea..67706fb4ff 100755
--- a/tools/release-abort.sh
+++ b/tools/release-abort.sh
@@ -19,11 +19,12 @@
 # under the License.
 # ----------------------------------------------------------------------------
 
-DIRECTORY=$(pwd)
+DIRECTORY="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
+
 PRE_RELEASE_VERSION=0.13.1-SNAPSHOT
 
 # Set the local development version back to the initial one.
-docker compose run releaser bash /ws/mvnw -e -P 
with-c,with-dotnet,with-go,with-java,with-python,update-generated-code 
-Dmaven.repo.local=/ws/out/.repository versions:set 
-DnewVersion="$PRE_RELEASE_VERSION"
+docker compose -f "$DIRECTORY/tools/docker-compose.yaml" run releaser bash 
/ws/mvnw -e -P 
with-c,with-dotnet,with-go,with-java,with-python,update-generated-code 
-Dmaven.repo.local=/ws/out/.repository versions:set 
-DnewVersion="$PRE_RELEASE_VERSION"
 
 # Delete left-over files from the last attempt.
 find .. -type f -name 'release.properties' -delete

Reply via email to