From 14bf9f3e5676b8dce99fe41721a5cc14f7f03ef2 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Sat, 23 May 2026 17:57:50 -0500 Subject: [PATCH] Workflow fix to git sha --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 146ec77..6830226 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: inputs: tag: - description: 'Tag to release (e.g. v0.1.0). The tag must already exist.' + description: 'Tag to release (e.g. v0.1.0).' required: true type: string @@ -22,7 +22,7 @@ jobs: id: ref run: | if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then - echo "ref=${{ inputs.tag }}" >> "$GITHUB_OUTPUT" + echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT" echo "tag=${{ inputs.tag }}" >> "$GITHUB_OUTPUT" else echo "ref=${{ github.ref }}" >> "$GITHUB_OUTPUT" @@ -56,6 +56,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ steps.ref.outputs.tag }} name: ${{ steps.ref.outputs.tag }} + target_commitish: ${{ github.sha }} generate_release_notes: true fail_on_unmatched_files: true files: | -- 2.47.3