summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-05-21 14:15:09 +0000
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-05-21 14:49:37 +0000
commit33f5c13584728158ede6077a5aa2a2fbd7f43cbd (patch)
tree67af5a4d4fd756dc7b4c4de5af94d8744e2741d6
parent283b6c1ba3ff330b9030d857c8f53e9da51fb09b (diff)
downloadtmwa-master.tar.gz
tmwa-master.tar.bz2
tmwa-master.tar.xz
tmwa-master.zip
CI: Disable git clone depth limitHEADmaster
It's annoying when CI build starts failing X commits after last tag.
-rw-r--r--.gitlab-ci.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0368723..1cc7c15 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,9 +5,7 @@ stages:
variables: &base_vars
DEBIAN_COMMON_PACKAGES: make git gcc g++
- # Depth of clone. If no tag is made after this many commits, then
- # the git describe call and version header generation will fail.
- GIT_DEPTH: 100 # Will break again eventually.
+ GIT_DEPTH: 0 # avoid shallow clone since version is based on latest tag
GIT_SUBMODULE_STRATEGY: normal
.prerequisites: &prerequisites