diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-05-21 14:15:09 +0000 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-05-21 14:49:37 +0000 |
commit | 33f5c13584728158ede6077a5aa2a2fbd7f43cbd (patch) | |
tree | 67af5a4d4fd756dc7b4c4de5af94d8744e2741d6 | |
parent | 283b6c1ba3ff330b9030d857c8f53e9da51fb09b (diff) | |
download | tmwa-master.tar.gz tmwa-master.tar.bz2 tmwa-master.tar.xz tmwa-master.zip |
It's annoying when CI build starts failing X commits after last tag.
-rw-r--r-- | .gitlab-ci.yml | 4 |
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 |