Fix version discovery

This commit is contained in:
Janne Valkealahti
2023-06-19 10:52:03 +01:00
parent 9b93f3b797
commit 6bddecd3f2

View File

@@ -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.