From 3508f0e5a651c4ffc58c1ae22dc5a58cd01a1028 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 3 Feb 2023 07:55:42 +0100 Subject: [PATCH] Do not use shortened url for sdkman --- build/publish-on-sdkman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/publish-on-sdkman.sh b/build/publish-on-sdkman.sh index 679769e04..913f5f635 100755 --- a/build/publish-on-sdkman.sh +++ b/build/publish-on-sdkman.sh @@ -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 \