0
0
This commit is contained in:
Marco Maatz 2025-05-16 14:19:19 +02:00
parent 452753118c
commit ccc912ee35

View File

@ -73,7 +73,7 @@ jobs:
if [ "$release_id" == "null" ]; then
echo "No Release for tag '${{ inputs.tag }}' found. Create a new Release."
release_create=$(curl -s -X PATCH -H "Authorization: token $API_TOKEN" \
release_create=$(curl -s -X POST -H "Authorization: token $API_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"body\": \"$milestoneUrl \n${{ inputs.downloadUrl }}\", \"name\": \"${{ inputs.milestoneName }}\", \"prerelease\": $prerelease}" \
"$GITEA_API_URL/repos/$OWNER/${{ inputs.repo }}/releases")