From 30de8c0be04cb507ec1b6010511accc36cf66ff3 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 12 Jul 2024 14:51:14 +0200 Subject: [PATCH] build: fetch complete git history In order to build a image with which contains the correct git version SHA we need to complete git tree. Otherwise 'git describe' only returns the last tag name. Signed-off-by: Daniel Wagner --- .github/workflows/appimage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index c8205ef8c9..cc65ff3ad6 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -17,6 +17,8 @@ jobs: image: ghcr.io/igaw/linux-nvme/debian:latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: build run: | scripts/build.sh appimage