From 225b4bedc144873d83e116180fd2d1f1c92bb776 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Sat, 10 Oct 2026 00:43:31 -0400 Subject: [PATCH] self-release: fix the major tag delete endpoint --- .github/workflows/self-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/self-release.yml b/.github/workflows/self-release.yml index 0bc86ab..a1f4287 100644 --- a/.github/workflows/self-release.yml +++ b/.github/workflows/self-release.yml @@ -79,7 +79,7 @@ jobs: echo "::error::${VERSION} already points at ${TAG_SHA}. Bump VERSION instead of moving a published tag." >&2 exit 1 fi - gh api --method DELETE "/repos/${REPOSITORY}/git/ref/tags/${TAG}" + gh api --method DELETE "/repos/${REPOSITORY}/git/refs/tags/${TAG}" fi gh api --method POST "/repos/${REPOSITORY}/git/refs" \ -f "ref=refs/tags/${TAG}" \