Skip to content
Snippets Groups Projects
Commit d7e6a7db authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Try basing the GH release on github.ref_name instead of github.ref.

Using github.ref as action-gh-release's target_commitish produces:

:warning: GitHub release failed with status: 422
[{"resource":"Release","code":"invalid","field":"target_commitish"}]

(cherry picked from commit c6a6db84)
parent 603d3a86
No related branches found
No related tags found
No related merge requests found
......@@ -382,7 +382,7 @@ jobs:
${{ needs.build.outputs.relnotes }}
prerelease: true
generate_release_notes: true
target_commitish: ${{ github.ref }}
target_commitish: ${{ github.ref_name }}
append_body: true
fail_on_unmatched_files: true
files: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment