diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4552e7c..14b14ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/${{ github.repository }}/releases \ - -d '{"tag_name":"${{ github.ref }}","target_commitish":"${{ github.ref }}","name":"${{ github.ref }}","body":"# ${{ github.ref }}","draft":true,"prerelease":false,"generate_release_notes":false}' \ + -d '{"tag_name":"${{ github.action_ref }}","target_commitish":"${{ github.action_ref }}","name":"${{ github.action_ref }}","body":"# ${{ github.action_ref }}","draft":true,"prerelease":false,"generate_release_notes":false}' \ | jq --raw-output .upload_url)" curl -L \ -X POST \