Skip to content
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

Update release checks for arm and riscv64 #153

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions sbin/releaseCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ curl -q https://api.github.com/repos/adoptium/temurin${TEMURIN_VERSION}-binaries
awk -F'"' '/browser_download_url/{print$4}' > releaseCheck.$$.tmp || exit 1

#### LINUX (ALL)
for ARCH in x64 aarch64 ppc64le s390x arm; do
for ARCH in x64 aarch64 ppc64le s390x arm riscv64; do
EXPECTED=23; [ "${TEMURIN_VERSION}" -eq 8 ] && EXPECTED=15
# Temurin does not ship on Linux/s390x for JDK8
if ! [ "${TEMURIN_VERSION}" -eq 8 -a "$ARCH" = "s390x" ]; then
# Exclude checks for platform/versions that Temurin does not ship on
if ! [ \( "${TEMURIN_VERSION}" -eq 8 -a "$ARCH" = "s390x" \) -o \
\( "${TEMURIN_VERSION}" -ge 20 -a "$ARCH" = "arm" \) -o \
\( "${TEMURIN_VERSION}" -lt 21 -a "$ARCH" = "riscv64" \) ]; then
ACTUAL=$(cat releaseCheck.$$.tmp | grep ${ARCH}_linux | wc -l)
if [ $ACTUAL -eq $EXPECTED ]
then
Expand Down
Loading