Fix wrong postfix for project version

This commit is contained in:
Janne Valkealahti
2021-04-05 16:46:03 +01:00
parent 4d4a2cd8d3
commit 0d249c0f34

View File

@@ -46,7 +46,7 @@ jobs:
- name: Configure Milestone Version
run: |
jfrog rt gradle milestoneVersion -PstatemachineMilestone=${{ github.event.inputs.milestone }}
echo PROJECT_VERSION=$(jfrog rt gradle "properties -q" | grep "version:" | awk '{print $2}')-${{ github.event.inputs.milestone }} >> $GITHUB_ENV
echo PROJECT_VERSION=$(jfrog rt gradle "properties -q" | grep "version:" | awk '{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.