From 96bb3bc15babdab86bef285bbfab954546a07ebd Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Tue, 30 Apr 2024 15:52:50 -0700 Subject: [PATCH] Fetch tags for limactl --version When tags are unavailable, `limactl --version` will just report the commit SHA1, e.g. "limactl version 6587349". When tags are available the reported version looks like "limactl version 0.21.0-47-gcaba48e". Signed-off-by: Jan Dubois --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b69012..7add2a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/checkout@v4 with: persist-credentials: false + fetch-depth: 0 submodules: recursive - name: Install sha512sum if: startswith(matrix.os, 'macos')