diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index c78c8c656bfe6b637a4ac3715196188d4ed0f082..622ceb4afed8053a6de8c0ad7802dd75a489f3b8 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: |