From c59576101cc51ceb26b8c6a1c314e2e991ad79ed Mon Sep 17 00:00:00 2001
From: Serge Bazanski <q3k@q3k.org>
Date: Sun, 13 Aug 2023 17:19:11 +0200
Subject: [PATCH] ci: use full clone for dist step

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f689f8366..800b68081e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,6 +75,9 @@ pages:
 
 dist:
   stage: deploy
+  variables:
+    # Force a full clone to make version machinery work.
+    GIT_STRATEGY: clone
   only:
     - /^release\/[0-9]+\.[0-9]+\.[0-9]+.*$/
   script:
-- 
GitLab