From f3f0f96513dbc4f281f566c007d6b4dc9030b0c0 Mon Sep 17 00:00:00 2001 From: fossdd Date: Sat, 8 Feb 2025 16:24:57 +0100 Subject: [PATCH] CI: autoupdate: get latest next tag from git.kernel.org (MR 6012) Co-Authored-By: Luca Weiss [ci:skip-build]: already built successfully in CI --- .ci/autoupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/autoupdate.sh b/.ci/autoupdate.sh index f7ac350d4..1dbfa56b8 100755 --- a/.ci/autoupdate.sh +++ b/.ci/autoupdate.sh @@ -43,7 +43,7 @@ update_linux_next() { # shellcheck source=/dev/null pkgver=$(. device/testing/linux-next/APKBUILD; echo "$pkgver") - curl -s "https://gitlab.com/linux-kernel/linux-next/-/tags?format=atom" | grep -oP "(?<=)[^<]+" | tail -n +2 > /tmp/tags + curl -s https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/refs/tags/ | grep -oE "<a href='.*'>(.*)</a>.*\.tar\.gz</a>" | awk -F'[<>]' '{print $3}' > /tmp/tags latest=$(grep -v "v" < /tmp/tags | head -n1) if [ -z "$latest" ]; then