From 9a856e52c6c4a634470e947df8524079874d6802 Mon Sep 17 00:00:00 2001 From: "dmitry.kirdyashkin" Date: Fri, 21 Jul 2023 23:29:00 +0300 Subject: [PATCH] f --- lib | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib b/lib index 67a06dd..66b70e7 100644 --- a/lib +++ b/lib @@ -27,10 +27,10 @@ function create-release(){ }') RELEASE_ID=$(jq -r '.id' <<< $RESPONSE) - + echo "RELEASE_IR is ${RELEASE_ID}" curl \ -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 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer 10e4af53e553aacb905766512e36487492d61a66' \