diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 6713e429ccd6e12c3bfd8117146fa1102367ac44..b15613379908996e84d145fcb3ca06df79fec8ac 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -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: |