diff --git a/.github/workflows/showversion.yml b/.github/workflows/showversion.yml index 30368b8d1..b5fe8d777 100644 --- a/.github/workflows/showversion.yml +++ b/.github/workflows/showversion.yml @@ -40,4 +40,11 @@ jobs: id: get_version run: | echo "VERSION=${{ github.ref }}" >> $GITHUB_OUTPUT - echo ${GITHUB_OUTPUT} + GITFULLSEMVER=`echo ${GITHUB_OUTPUT} | grep GitVersion_FullSemVer | awk '{print $2}'` + GITSHORTSHA=`echo ${GITHUB_OUTPUT} | grep GitVersion_ShortSha | awk '{print $2}'` + GITVERSION2=${GITFULLSEMVER}.${GITSHORTSHA} + GITLONGTAG2=`echo ${GITHUB_OUTPUT} | grep GitVersion_Sha | awk '{print $2}'` + GITDATE2=`echo ${GITHUB_OUTPUT} | grep GitVersion_CommitDate | awk '{print $2}'`"T00:00:00-0000" + echo "GITVERSION2: ${GITVERSION2}" + echo "GITLONGTAG2: ${GITLONGTAG2}" + echo "GITDATE2: ${GITDATE2}"