From 9996f7a300d2636352d5535a2623cac92b5b96b7 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 11 Aug 2025 16:20:33 -0400 Subject: [PATCH] Allow `+debN` kernels Seems 6.12 is now being marked `+deb13`. --- .github/scripts/download_kernel_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/download_kernel_images.sh b/.github/scripts/download_kernel_images.sh index 6a9905f4..da827460 100755 --- a/.github/scripts/download_kernel_images.sh +++ b/.github/scripts/download_kernel_images.sh @@ -19,7 +19,7 @@ readonly URLS # Find the latest revision of each kernel version. FILES=() for VERSION in "${VERSIONS[@]}"; do - REGEX="linux-image-${VERSION//./\\.}\\.[0-9]+(-[0-9]+)?(\+bpo)?-cloud-${ARCHITECTURE}-unsigned_.*\\.deb" + REGEX="linux-image-${VERSION//./\\.}\\.[0-9]+(-[0-9]+)?(\+bpo|\+deb[0-9]+)?-cloud-${ARCHITECTURE}-unsigned_.*\\.deb" match=$(printf '%s\n' "$URLS" | grep -E "$REGEX" | sort -V | tail -n1) || { printf '%s\nVERSION=%s\nREGEX=%s\n' "$URLS" "$VERSION" "$REGEX" >&2 exit 1