Browse Source

Allow `+debN` kernels

Seems 6.12 is now being marked `+deb13`.
Tamir Duberstein 1 week ago
parent
commit
9996f7a300
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/scripts/download_kernel_images.sh

+ 1 - 1
.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