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

pkarwasz pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/2.x by this push:
     new df681d636c Fix version detection
df681d636c is described below

commit df681d636c5adf5150e4f23b86f98160160ce59b
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Mar 15 12:46:50 2023 +0100

    Fix version detection
---
 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 687b7098c1..199b41530a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -155,7 +155,7 @@ jobs:
         run: |
           VERSION=$(./mvnw -q -N help:evaluate -DforceStdout=true 
-Dexpression=project.version)
           echo $VERSION
-          echo project_version=$VERSION >> GITHUB_ENV
+          echo "project_version=$VERSION" >> $GITHUB_ENV
 
       - name: Deploy artifacts
         # Do not deploy release versions

Reply via email to