Skip to content

Commit

Permalink
Use the right ref for creating a release
Browse files Browse the repository at this point in the history
  • Loading branch information
kejadlen committed Mar 29, 2023
1 parent 18c9096 commit a448123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a448123

Please sign in to comment.