From 3bf1d0a3b71bb0e74c91357abe18b721e255f189 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Tue, 6 Feb 2024 23:53:41 -0500
Subject: [PATCH] Touch the git info before building.

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

diff --git a/.gitlab-ci-unix.yml b/.gitlab-ci-unix.yml
index 28a0e6985d..5424a06f4c 100644
--- a/.gitlab-ci-unix.yml
+++ b/.gitlab-ci-unix.yml
@@ -179,6 +179,8 @@ spec:
   extends:
     - .$[[ inputs.os ]]-build
   script:
+    - touch src/sbbs3/git_hash.h
+    - touch src/sbbs3/git_branch.h
     - cd src/sbbs3/scfg
     - gmake ${BUILD_FLAGS}
   artifacts:
@@ -201,6 +203,8 @@ spec:
   extends:
     - .$[[ inputs.os ]]-build
   script:
+    - touch src/sbbs3/git_hash.h
+    - touch src/sbbs3/git_branch.h
     - cd src/sbbs3/uedit
     - gmake ${BUILD_FLAGS}
   artifacts:
@@ -251,6 +255,8 @@ spec:
   extends:
     - .$[[ inputs.os ]]-build
   script:
+    - touch src/sbbs3/git_hash.h
+    - touch src/sbbs3/git_branch.h
     - cd src/sbbs3
     - gmake ${BUILD_FLAGS} standalone-utils
   artifacts:
@@ -272,6 +278,8 @@ spec:
   extends:
     - .$[[ inputs.os ]]-build
   script:
+    - touch src/sbbs3/git_hash.h
+    - touch src/sbbs3/git_branch.h
     - cd src/sbbs3
     - gmake -d ${BUILD_FLAGS} all
   artifacts:
-- 
GitLab