Do not use shortened url for sdkman

This commit is contained in:
Guillaume Nodet
2023-02-03 07:55:42 +01:00
parent b539498e98
commit 3508f0e5a6

View File

@@ -82,7 +82,7 @@ node -pe "
}
" "${RESPONSE}"
RELEASE_URL=`curl -s -i https://git.io -F url=https://downloads.apache.org/maven/mvnd/${VERSION} | grep Location | sed -e 's/Location: //g' | tr -d '\n' | tr -d '\r'`
RELEASE_URL="https://downloads.apache.org/maven/mvnd/${VERSION}"
echo "RELEASE_URL = $RELEASE_URL"
RESPONSE="$(curl -s -X POST \