Remove "v" from version

This commit is contained in:
Andrea Cavalli 2021-07-28 11:42:52 +02:00
parent 02c57a51d5
commit 17e1efb575

View File

@ -22,6 +22,7 @@ jobs:
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
echo ::set-output name=SOURCE_TAG_VERSION::${GITHUB_REF#refs/tags/v}
- uses: actions/checkout@v2
with:
submodules: "recursive"
@ -29,7 +30,7 @@ jobs:
shell: bash
run: |
# ====== Variables
export REVISION=${{ steps.branch_name.outputs.SOURCE_TAG }}
export REVISION=${{ steps.branch_name.outputs.SOURCE_TAG_VERSION }}
export IMPLEMENTATION_NAME=${{ matrix.implementation }}
echo "REVISION=$REVISION" >> $GITHUB_ENV