From 341d88e8fe441e56eb5ae01cea53fd4e0c8c1212 Mon Sep 17 00:00:00 2001 From: Rudraksha Gupta Date: Sat, 3 May 2025 19:50:12 -0700 Subject: [PATCH] .ci/lib: ignore pkgrel checks for linux-next Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6133 --- .ci/lib/check_changed_aports_versions.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.ci/lib/check_changed_aports_versions.py b/.ci/lib/check_changed_aports_versions.py index fcbcd75f0..e88d16cc8 100755 --- a/.ci/lib/check_changed_aports_versions.py +++ b/.ci/lib/check_changed_aports_versions.py @@ -111,6 +111,14 @@ def check_versions(packages): " HEAD against HEAD~1.") commit = "HEAD~1" + # Exclude linux-next from pkgrel checks, as it is updated automatically. + # + # Without this, .ci/commits.sh complains about the following: + # ERROR: Modified package(s) don't have an increased version or a new + # package has a nonzero pkgrel! + if "linux-next" in packages: + packages.remove("linux-next") + for package in packages: # Get versions, skip new packages head = get_package_version(package, "HEAD")