f
continuous-integration/drone/push Build is passing Details

pull/4/head
dmitry.kirdyashkin 2023-07-21 23:29:00 +03:00
parent 343698ff34
commit 9a856e52c6
1 changed files with 2 additions and 2 deletions

4
lib
View File

@ -27,10 +27,10 @@ function create-release(){
}') }')
RELEASE_ID=$(jq -r '.id' <<< $RESPONSE) RELEASE_ID=$(jq -r '.id' <<< $RESPONSE)
echo "RELEASE_IR is ${RELEASE_ID}"
curl \ curl \
-X 'POST' \ -X 'POST' \
-Url "https://gitea.kdiva.ru/api/v1/repos/${DRONE_REPO}/releases/$RELEASE_ID/assets" \ -Url "https://gitea.kdiva.ru/api/v1/repos/${DRONE_REPO}/releases/${RELEASE_ID}/assets" \
-H 'accept: application/json' \ -H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \ -H 'Content-Type: multipart/form-data' \
-H 'Authorization: Bearer 10e4af53e553aacb905766512e36487492d61a66' \ -H 'Authorization: Bearer 10e4af53e553aacb905766512e36487492d61a66' \