]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
ci: unshallow repository on release
authorVincent Bernat <vincent@bernat.ch>
Fri, 20 Aug 2021 20:44:52 +0000 (22:44 +0200)
committerVincent Bernat <vincent@bernat.ch>
Fri, 20 Aug 2021 20:44:52 +0000 (22:44 +0200)
This is needed for "git log" to work

.github/workflows/ci.yml

index 820d9706341a298c7ffd494809285ecf9d943aed..e692a89f66441265d67a64aa928e9e28e3de40dc 100644 (file)
@@ -47,9 +47,11 @@ jobs:
       - uses: actions/checkout@v2
         with:
           submodules: true
-      - name: Fetch all tags
+      - name: Unshallow repository
         if: matrix.release
-        run: git fetch --tags
+        run: |
+          git fetch --tags
+          git fetch --unshallow
       - name: Install stuff
         run: ./tests/ci/install.sh
       - name: Build and run tests