From cc9ed43c3f01559685c1ba8f9f993e3bffb45aac Mon Sep 17 00:00:00 2001
From: XargonWan <XargonWan@gmail.com>
Date: Mon, 22 Apr 2024 18:33:14 +0900
Subject: [PATCH] TEST: tesing main release on Gitea [skip ci]

---
 .github/workflows/main-gitea.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/main-gitea.yml b/.github/workflows/main-gitea.yml
index 83b3fc53..2af25979 100644
--- a/.github/workflows/main-gitea.yml
+++ b/.github/workflows/main-gitea.yml
@@ -139,6 +139,8 @@ jobs:
           TAG="${{ env.REL_VER }}"
           RELEASE_BODY="$(cat body.md)"
 
+          echo -e "[DEBUG] Release Body:\n$RELEASE_BODY"
+
           # Create a release using curl and capture the release ID
           release_response=$(curl -X POST \
               -H "Authorization: token ${GITEA_TOKEN}" \
@@ -146,6 +148,8 @@ jobs:
               -d "{\"tag_name\":\"$TAG\",\"name\":\"$RELEASE_NAME\",\"body\":\"$RELEASE_BODY\"}" \
               "http://$GITEA_HOST/api/v1/repos/$ORGANIZATION/$REPO/releases")
 
+          echo -e "[DEBUG] Release response:\n$release_response"
+
           # Extract the release ID from the response
           release_id=$(echo $release_response | jq -r '.id')