diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b43e5ac..e2e392a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,15 +56,12 @@ jobs: run: git fetch --prune --unshallow --tags - name: Generate SDK run: make build - - name: Get current tag - id: get_tag - run: echo "::set-output name=tag::${GITHUB_REF##*/}" - name: Create new tag id: create_tag uses: mathieudutour/github-tag-action@v5 with: github_token: ${{ secrets.GITHUB_TOKEN }} - custom_tag: sdk/${{ steps.get_tag.outputs.tag }} + custom_tag: sdk/${{ github.event.release.tag_name }} tag_prefix: "" - name: Compress SDK folder run: |