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

add support for windows aarch64 to release check #178

Merged
merged 1 commit into from
Oct 23, 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
7 changes: 4 additions & 3 deletions sbin/releaseCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ if [ "${TEMURIN_VERSION}" -eq 8 ]; then
fi

#### WINDOWS
for ARCH in x64 x86-32; do
# Windows 32-bit does not ship starting from JDk20
if [ "${TEMURIN_VERSION}" -lt 20 -o "${ARCH}" != "x86-32" ]; then
for ARCH in aarch64 x64 x86-32; do
# Windows 32-bit does not ship starting from JDK20
# Windows aarch64 is only included from JDK21
if [ \( "${TEMURIN_VERSION}" -lt 20 -o "${ARCH}" != "x86-32" \) -a \( "${TEMURIN_VERSION}" -ge 21 -o "${ARCH}" != "aarch64" \) ]; then
EXPECTED=31; [ "${TEMURIN_VERSION}" -eq 8 ] && EXPECTED=23
ACTUAL=$(cat releaseCheck.$$.tmp | grep ${ARCH}_windows | wc -l)
if [ $ACTUAL -eq $EXPECTED ]
Expand Down