- Use gitea.ref/server_url/repository context vars instead of GitHub env vars - Move API_URL and REPO into env: block so context expressions are evaluated - Pass gitea.ref via env: for version extraction (GITEA_REF) - Replace grep/cut JSON parsing with jq throughout - Fix tag creation body: use 'target' key instead of 'message' - Add set -euo pipefail and diagnostic echo output to both run blocks - Add null check on jq-parsed RELEASE_ID in publish-release