]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
CI: Ensure we clone the whole repo
authorOlliver Schinagl <oliver@schinagl.nl>
Sun, 11 Feb 2024 22:54:34 +0000 (23:54 +0100)
committerFlole998 <Flole998@users.noreply.github.com>
Sun, 11 Feb 2024 22:56:21 +0000 (23:56 +0100)
We have to make sure we clone the whole repo, so that `git describe`
works as expected. Without it, we get version 0.0.0, not what we want.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
.github/workflows/container-build.yaml

index a32220dc317a76eea619de8129e3d2375a8084af..199324584b1afa03eb5fc8f81f2111d104c88b3a 100644 (file)
@@ -32,6 +32,8 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
 
       - name: Set up QEMU
         uses: docker/setup-qemu-action@v2