|
|
|
@ -29,6 +29,7 @@ function create-release(){
|
|
|
|
|
RELEASE_ID=$(jq -r '.id' <<< $RESPONSE)
|
|
|
|
|
echo "RELEASE_ID is ${RELEASE_ID}"
|
|
|
|
|
curl \
|
|
|
|
|
-vv \
|
|
|
|
|
-X 'POST' \
|
|
|
|
|
-Url "https://gitea.kdiva.ru/api/v1/repos/${DRONE_REPO}/releases/${RELEASE_ID}/assets" \
|
|
|
|
|
-H 'accept: application/json' \
|
|
|
|
|