f
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
9a856e52c6
commit
bf83929565
4
lib
4
lib
|
@ -8,7 +8,7 @@ function create-archive(){
|
||||||
}
|
}
|
||||||
|
|
||||||
function create-release(){
|
function create-release(){
|
||||||
if [[-z "${TAG}"]]; then
|
if [[ -z "${TAG}"]]; then
|
||||||
echo "TAG key is not set"
|
echo "TAG key is not set"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -27,7 +27,7 @@ function create-release(){
|
||||||
}')
|
}')
|
||||||
|
|
||||||
RELEASE_ID=$(jq -r '.id' <<< $RESPONSE)
|
RELEASE_ID=$(jq -r '.id' <<< $RESPONSE)
|
||||||
echo "RELEASE_IR is ${RELEASE_ID}"
|
echo "RELEASE_ID 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" \
|
||||||
|
|
Loading…
Reference in New Issue