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

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

4
lib
View File

@ -8,7 +8,7 @@ function create-archive(){
}
function create-release(){
if [[-z "${TAG}"]]; then
if [[ -z "${TAG}"]]; then
echo "TAG key is not set"
exit 0
fi
@ -27,7 +27,7 @@ function create-release(){
}')
RELEASE_ID=$(jq -r '.id' <<< $RESPONSE)
echo "RELEASE_IR is ${RELEASE_ID}"
echo "RELEASE_ID is ${RELEASE_ID}"
curl \
-X 'POST' \
-Url "https://gitea.kdiva.ru/api/v1/repos/${DRONE_REPO}/releases/${RELEASE_ID}/assets" \