diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index b15613379908996e84d145fcb3ca06df79fec8ac..1816e8b48f8e0e0b274d3543189778613d25fb17 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_name }}
+          target_commitish: ${{ github.sha }}
           append_body: true
           fail_on_unmatched_files: true
           files: |