diff options
author | Fedja Beader <fedja@protonmail.ch> | 2023-12-14 02:09:07 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-01-28 17:25:09 +0100 |
commit | aa3a2125c697a31fb640fd9c9f72d63eff58c72c (patch) | |
tree | 14a65187bcb56bd3df13c712e22e1a80f9a837f6 | |
parent | 401d1592096ad5f06be336bdf6e305f87c3b359b (diff) | |
download | tmwa-aa3a2125c697a31fb640fd9c9f72d63eff58c72c.tar.gz tmwa-aa3a2125c697a31fb640fd9c9f72d63eff58c72c.tar.bz2 tmwa-aa3a2125c697a31fb640fd9c9f72d63eff58c72c.tar.xz tmwa-aa3a2125c697a31fb640fd9c9f72d63eff58c72c.zip |
git describe fails with (too) shallow clones, so fetch tags explicitly
Even if tags are fetched, the shallowness of the clone means they might
still be inaccessible.
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed664ab..5430c64 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,11 @@ re:debian-stable: image: debian:stable variables: <<: *base_vars + GIT_DEPTH: 100 # Will break again eventually. script: - git submodule update --init + - git fetch -t + - printf "Building TMW Athena version %s\n" "$(git describe --tags HEAD)" - ./configure --user - make - make install |