From 4ef8e64a7c6cc579490f26d7f079eb0294902429 Mon Sep 17 00:00:00 2001 From: forbes-0023 Date: Thu, 26 Feb 2026 08:45:58 -0600 Subject: [PATCH] fix(ci): add target_commitish to release payload to fix HTTP 500 The publish-release job was missing the target_commitish field in the Gitea release creation API payload. Without it, Gitea cannot resolve the tag to a git object and returns HTTP 500 with 'object does not exist'. Add COMMIT_SHA (from github.sha) to the job env and pass it as target_commitish in the JSON payload. Closes #326 --- .gitea/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 50297850dd..6686c64d71 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -322,6 +322,7 @@ jobs: env: BUILD_TAG: ${{ github.ref_name || inputs.tag }} + COMMIT_SHA: ${{ github.sha }} NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt steps: @@ -386,6 +387,7 @@ jobs: 'name': f'Kindred Create {tag}', 'body': body, 'prerelease': prerelease, + 'target_commitish': '${COMMIT_SHA}', })) ")