CI fix
Some checks failed
🏗️ Build Plugin / build (push) Successful in 45s
Latest Release / latest-release (push) Failing after 53s
🧪 Test Plugin / test (push) Successful in 36s

This commit is contained in:
Duncan Tourolle 2026-03-07 16:39:38 +01:00
parent 611fb52d76
commit 1b23e203ce

View File

@ -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)