From 9b3a109e362ce6b7868851da9c3b7be43b13f1fa Mon Sep 17 00:00:00 2001 From: Nigel Jones Date: Fri, 24 Mar 2023 12:52:06 +0000 Subject: [PATCH] #7533 fix extraction of version, for publishing of container image Signed-off-by: Nigel Jones --- .github/workflows/release-v4.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-v4.yml b/.github/workflows/release-v4.yml index 588055c6b2f..578d44142a3 100644 --- a/.github/workflows/release-v4.yml +++ b/.github/workflows/release-v4.yml @@ -65,7 +65,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set Release version env variable run: | - echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV + echo "VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_ENV # Publish container images(egeria) to quay.io and docker.io - name: Copy the distribution content to be used in docker copy command run: |