From 702287cc3be91e5230f27911027a6e5f2dccef7c Mon Sep 17 00:00:00 2001 From: Andy Meier Date: Fri, 7 Aug 2026 07:10:20 -0400 Subject: [PATCH] Fix GitHub release repository context --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cd0d2c..0926560 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -154,10 +154,11 @@ jobs: - name: Create GitHub Release env: GH_TOKEN: ${{ github.token }} + REPOSITORY: ${{ github.repository }} TAG: ${{ needs.package.outputs.tag }} run: | - if gh release view "$TAG" >/dev/null 2>&1; then + if gh release view "$TAG" --repo "$REPOSITORY" >/dev/null 2>&1; then echo "GitHub Release $TAG already exists." else - gh release create "$TAG" --verify-tag --title "$TAG" --generate-notes + gh release create "$TAG" --repo "$REPOSITORY" --verify-tag --title "$TAG" --generate-notes fi