post...
This commit is contained in:
parent
452753118c
commit
ccc912ee35
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user