diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 89544b2a..27480b54 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -26,7 +26,7 @@ jobs: release_name: ${{ github.ref }} - name: Get version id: get_version - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Upload release asset id: upload_release_asset uses: actions/upload-release-asset@v1