TEST: tesing main release on Gitea [skip ci]

This commit is contained in:
XargonWan 2024-04-22 21:38:44 +09:00
parent cc9ed43c3f
commit 5169f4918a

View file

@ -145,7 +145,7 @@ jobs:
release_response=$(curl -X POST \ release_response=$(curl -X POST \
-H "Authorization: token ${GITEA_TOKEN}" \ -H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \ -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") "http://$GITEA_HOST/api/v1/repos/$ORGANIZATION/$REPO/releases")
echo -e "[DEBUG] Release response:\n$release_response" echo -e "[DEBUG] Release response:\n$release_response"