From 3f4990de4d6636427b7386a3c14a59af4da20c96 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Wed, 22 Apr 2026 09:45:22 -0700 Subject: [PATCH] ci: Handle distro specific meson dist --- .github/scripts/build-and-test.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build-and-test.sh b/.github/scripts/build-and-test.sh index e7aceb3..d6182ce 100755 --- a/.github/scripts/build-and-test.sh +++ b/.github/scripts/build-and-test.sh @@ -18,7 +18,13 @@ meson setup -Dprefix=/usr -Dsysconfdir=/etc -Dlocalstatedir=/var -Dnls=enabled " cd "$BUILDDIR" meson compile meson test -meson dist --allow-dirty # Required to fix CI build + +if [[ $(printf "%s\n" "0.62.0" "$(meson --version)" | sort -V | head -1) == "0.62.0" ]] +then + meson dist --allow-dirty # Required to fix CI build +else + meson dist +fi # Print bugreport output ./bugreport/x52bugreport