|
|
|
@ -49,7 +49,7 @@ if [[ $RELEASE_TYPE = "RELEASE" ]]; then
|
|
|
|
|
WAIT_TIME=5
|
|
|
|
|
COUNTER=0
|
|
|
|
|
while [ $ARTIFACTS_PUBLISHED == "false" ] && [ $COUNTER -lt 60 ]; do
|
|
|
|
|
result=$( curl https://api.bintray.com/packages/"${BINTRAY_SUBJECT}"/"${BINTRAY_REPO}"/"${groupId}" )
|
|
|
|
|
result=$( curl -s https://api.bintray.com/packages/"${BINTRAY_SUBJECT}"/"${BINTRAY_REPO}"/"${groupId}" )
|
|
|
|
|
versions=$( echo "$result" | jq -r '.versions' )
|
|
|
|
|
exists=$( echo "$versions" | grep "$version" -o || true )
|
|
|
|
|
if [ "$exists" = "$version" ]; then
|
|
|
|
|