f
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
aab90e1f17
commit
343698ff34
7
lib
7
lib
|
@ -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' \
|
||||
|
|
Loading…
Reference in New Issue