Skip to content
Snippets Groups Projects
Commit c6a6db84 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"}]
parent a908b4cf
No related branches found
No related tags found
No related merge requests found
...@@ -382,7 +382,7 @@ jobs: ...@@ -382,7 +382,7 @@ jobs:
${{ needs.build.outputs.relnotes }} ${{ needs.build.outputs.relnotes }}
prerelease: true prerelease: true
generate_release_notes: true generate_release_notes: true
target_commitish: ${{ github.ref }} target_commitish: ${{ github.ref_name }}
append_body: true append_body: true
fail_on_unmatched_files: true fail_on_unmatched_files: true
files: | 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