From 60f9e4f68ea89530a0cbebd520cdc5de89fa2a51 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index c8205ef8c9..57242eb218 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -17,6 +17,10 @@ jobs: image: ghcr.io/igaw/linux-nvme/debian:latest steps: - uses: actions/checkout@v4 + - name: get tags + run: | + git fetch --tags origin + git desribe - name: build run: | scripts/build.sh appimage