Skip to content

Commit

Permalink
Do not use shortened url for sdkman
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Feb 3, 2023
1 parent b539498 commit 3508f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/publish-on-sdkman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3508f0e

Please sign in to comment.