From 6358bcdf15cf9e2cb19abb5d9382bea7489baf2a Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Thu, 7 Aug 2025 19:16:21 -0600 Subject: [PATCH] ci: Fetch tags by default before building The CI for merge requests is failing because the meson script is unable to parse the version. With some print debugging I determined that the version string being generated on the CI is empty because it has no git tags. I've added a command to fetch the tags before the build. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f278849b5..964bfe2a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,6 +106,8 @@ build-meson: - cd meson-0.63.2 - python3 setup.py install - cd .. + # needed to generate a version + - git fetch https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git --tags # Do the actual build - meson build -Dwebrtc-aec=enabled - cd build