diff --git a/.github/workflows/main-gitea.yml b/.github/workflows/main-gitea.yml index 2af25979..deea0003 100644 --- a/.github/workflows/main-gitea.yml +++ b/.github/workflows/main-gitea.yml @@ -145,7 +145,7 @@ jobs: release_response=$(curl -X POST \ -H "Authorization: token ${GITEA_TOKEN}" \ -H "Content-Type: application/json" \ - -d "{\"tag_name\":\"$TAG\",\"name\":\"$RELEASE_NAME\",\"body\":\"$RELEASE_BODY\"}" \ + -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"