diff --git a/lib b/lib index 66b70e7..fff0dda 100644 --- a/lib +++ b/lib @@ -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" \