Release v0.2.4

This commit is contained in:
Ganonmaster
2026-04-11 22:53:33 +02:00
parent 6df3ab1db1
commit 6a86cc8cce
2 changed files with 9 additions and 3 deletions
+1 -2
View File
@@ -51,7 +51,6 @@ jobs:
GITEA_URL: ${{ github.server_url }}
REPO: ${{ github.repository }}
TAG: ${{ github.ref_name }}
SHA: ${{ github.sha }}
run: |
# Gitea may not have finished processing the tag ref by the time the
# workflow runner starts, so retry a few times before giving up.
@@ -61,7 +60,7 @@ jobs:
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
"${GITEA_URL}/api/v1/repos/${REPO}/releases" \
-d "{\"tag_name\":\"${TAG}\",\"name\":\"${TAG}\",\"target_commitish\":\"${SHA}\",\"draft\":false,\"prerelease\":false}")
-d "{\"tag_name\":\"${TAG}\",\"name\":\"${TAG}\",\"draft\":false,\"prerelease\":false}")
HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -1)