From a3a29c7db1eccb0a3fdb455a9f036f021c974d44 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 2 Jul 2024 17:48:28 +0100 Subject: [PATCH] ci: fetch tags in order to get version --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 94a5eba..feaf3c0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -251,6 +251,9 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - uses: actions/checkout@v3 + with: + # Needed to get older tags + fetch-depth: 0 - uses: actions/setup-go@v3 with: