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

gnodet pushed a commit to branch linux-arm64
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/linux-arm64 by this push:
     new b320f867 Use --raw-streams
b320f867 is described below

commit b320f867cd9ea8338d830722911fe82671ebff21
Author: Guillaume Nodet <[email protected]>
AuthorDate: Tue Nov 25 16:29:05 2025 +0100

    Use --raw-streams
---
 .github/workflows/release.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index ba52e02d..2a2d5b31 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -70,7 +70,7 @@ jobs:
           else
             echo "OS=$OS" >> $GITHUB_ENV
           fi
-          echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q 
-DforceStdout)" >> $GITHUB_ENV
+          echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q 
-DforceStdout --raw-streams)" >> $GITHUB_ENV
 
       - name: 'Set up GraalVM'
         uses: graalvm/setup-graalvm@v1
@@ -201,7 +201,7 @@ jobs:
 
       - name: Set environment
         run: |
-          echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q 
-DforceStdout)" >> $GITHUB_ENV
+          echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q 
-DforceStdout | grep -v '^\[' | tail -1)" >> $GITHUB_ENV
 
       - name: Create Release
         id: create_release

Reply via email to