fix(ci): add target_commitish to release payload to fix HTTP 500 #333

Merged
forbes merged 1 commits from fix/ci-release-target-commitish into main 2026-02-26 16:34:06 +00:00
Owner

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 [id: , rel_path: ].

Changes

  • Add COMMIT_SHA: ${{ github.sha }} to the publish-release job env block
  • Pass target_commitish in the release creation JSON payload so Gitea can resolve the tag to the correct commit

See also: go-gitea/gitea#21681

Closes #326

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 [id: , rel_path: ]`. ## Changes - Add `COMMIT_SHA: ${{ github.sha }}` to the `publish-release` job env block - Pass `target_commitish` in the release creation JSON payload so Gitea can resolve the tag to the correct commit See also: go-gitea/gitea#21681 Closes #326
forbes added 1 commit 2026-02-26 14:46:13 +00:00
fix(ci): add target_commitish to release payload to fix HTTP 500
All checks were successful
Build and Test / build (pull_request) Successful in 29m30s
4ef8e64a7c
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
forbes merged commit 7f909f166f into main 2026-02-26 16:34:06 +00:00
forbes deleted branch fix/ci-release-target-commitish 2026-02-26 16:34:07 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#333