-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(updatecli): track the official jdk21 version instead of earlyavailable #839
chore(updatecli): track the official jdk21 version instead of earlyavailable #839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding 2 nitpicks comments: I'll send a PR
# JDK version (21+35) | ||
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz | ||
urlEncodedJDKVersion="${jdk_version//+/%2B}" | ||
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${urlEncodedJDKVersion}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version//+/_}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JDK version is already URL-encoded line 15.
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${urlEncodedJDKVersion}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version//+/_}" | |
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${jdk_version_urlencoded}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version_urlencoded//+/_}" |
# JDK version (21+35) | ||
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# JDK version (21+35) | |
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz | |
## JDK21 URLs have an underscore ('_') instead of a plus ('+') in their archive names |
Let's stay homogeneous with the other JDKs
fixup of jenkins-infra#839 Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
fixup of jenkins-infra#839 Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
* fix: Use Temurin JDK21 stable URLs fixup of #839 Signed-off-by: Damien Duportal <damien.duportal@gmail.com> * feat: bump JDK21 to 21+35 GA stable Signed-off-by: Damien Duportal <damien.duportal@gmail.com> --------- Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
as per jenkins-infra/helpdesk#3783