From 1b23e203ce6067e8d17789d3dcdffe2363760796 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 7 Mar 2026 16:39:38 +0100 Subject: [PATCH] CI fix --- .gitea/workflows/latest.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/latest.yaml b/.gitea/workflows/latest.yaml index 20011bd..b523441 100644 --- a/.gitea/workflows/latest.yaml +++ b/.gitea/workflows/latest.yaml @@ -86,6 +86,7 @@ jobs: "${GITEA_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/tags/${TAG}" || true # Create new release + RELEASE_BODY="Automated build from master branch.\n\nCommit: ${SHORT_SHA}\nBuilt: ${TIMESTAMP}" RESPONSE=$(curl -s -w "\n%{http_code}" -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ @@ -93,8 +94,8 @@ jobs: -d "$(jq -n \ --arg tag "$TAG" \ --arg name "Latest Build" \ - --arg body "Automated build from master branch.\n\nCommit: ${SHORT_SHA}\nBuilt: ${TIMESTAMP}" \ - --arg target "${{ github.sha }}" \ + --arg body "$RELEASE_BODY" \ + --arg target "master" \ '{tag_name: $tag, name: $name, body: $body, target_commitish: $target, draft: false, prerelease: true}')") HTTP_CODE=$(echo "$RESPONSE" | tail -n1)