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

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

7
lib
View File

@ -8,11 +8,9 @@ function create-archive(){
}
function create-release(){
RED= '\033[0;31m'
if [[-z "${TAG}"]]; then
echo "${RED}TAG key is not set"
break
echo "TAG key is not set"
exit 0
fi
RESPONSE=$(curl \
@ -32,7 +30,6 @@ function create-release(){
curl \
-X 'POST' \
-vv \
-Url "https://gitea.kdiva.ru/api/v1/repos/${DRONE_REPO}/releases/$RELEASE_ID/assets" \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \