This commit is contained in:
parent
140d51f181
commit
1c891689b4
1 changed files with 2 additions and 2 deletions
|
|
@ -71,9 +71,9 @@ jobs:
|
||||||
echo "Creating release for ${TAG}..."
|
echo "Creating release for ${TAG}..."
|
||||||
JSON_PAYLOAD=$(printf '{"tag_name": "%s", "name": "%s"}' "$TAG" "$TAG")
|
JSON_PAYLOAD=$(printf '{"tag_name": "%s", "name": "%s"}' "$TAG" "$TAG")
|
||||||
echo "Payload: ${JSON_PAYLOAD}"
|
echo "Payload: ${JSON_PAYLOAD}"
|
||||||
RESPONSE=$(curl -sv -X POST \
|
RESPONSE=$(curl -sv --http1.1 -X POST \
|
||||||
-H "Authorization: token ${FORGEJO_TOKEN}" \
|
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
|
-H "Authorization: token ${FORGEJO_TOKEN}" \
|
||||||
-d "$JSON_PAYLOAD" \
|
-d "$JSON_PAYLOAD" \
|
||||||
"${API_BASE}/repos/${REPO}/releases" 2>&1)
|
"${API_BASE}/repos/${REPO}/releases" 2>&1)
|
||||||
echo "Full response: ${RESPONSE}"
|
echo "Full response: ${RESPONSE}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue