From 6bddecd3f282cc6caad0feb9bce362883f3b2a4f Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Mon, 19 Jun 2023 10:52:03 +0100 Subject: [PATCH] Fix version discovery --- .github/workflows/release-ga.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-ga.yml b/.github/workflows/release-ga.yml index 3e11ce6d..61dc6599 100644 --- a/.github/workflows/release-ga.yml +++ b/.github/workflows/release-ga.yml @@ -44,7 +44,7 @@ jobs: - name: Configure Release Version run: | jf gradle releaseVersion - echo PROJECT_VERSION=$(jfrog rt gradle "properties -q" | grep "version:" | awk '{print $2}') >> $GITHUB_ENV + echo PROJECT_VERSION=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}') >> $GITHUB_ENV # build and publish to staging repo. # we've allready tested with snapshots so no need to test # with a release build as we are not a release train.