From 6af83d957ba55f0b8050f21a4d72d38331db080a Mon Sep 17 00:00:00 2001 From: Nathan Gillett Date: Sat, 30 May 2026 19:02:36 -0500 Subject: [PATCH] Fix release signing metadata upload git context Checkout tag ref and pass --repo to gh release upload. --- .github/workflows/release-binaries.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 0cd26d9..8fd527e 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -121,6 +121,11 @@ jobs: permissions: contents: write steps: + - uses: actions/checkout@v6 + with: + ref: ${{ github.ref }} + fetch-depth: 0 + - uses: actions/download-artifact@v8 with: name: release-signing-metadata @@ -135,4 +140,4 @@ jobs: set -euo pipefail mapfile -t files < <(find release-signing-metadata -type f | sort) test "${#files[@]}" -gt 0 - gh release upload "$RELEASE_TAG" "${files[@]}" --clobber + gh release upload "$RELEASE_TAG" --repo "$GH_REPO" "${files[@]}" --clobber