From 7fbe68912a02d562c2caa2c8bc7fdfd2033bba47 Mon Sep 17 00:00:00 2001 From: Jehoszafat Zimnowoda <17126497+j-zimnowoda@users.noreply.github.com> Date: Fri, 7 Aug 2026 13:53:14 +0200 Subject: [PATCH] ci: fetch tags on checkout --- .github/workflows/release-software.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-software.yml b/.github/workflows/release-software.yml index e4bb465d..607a2ede 100644 --- a/.github/workflows/release-software.yml +++ b/.github/workflows/release-software.yml @@ -35,7 +35,8 @@ jobs: with: ref: ${{ github.ref_name }} fetch-depth: 1 - + # This is required to fetch all tags so that release-get-tag can find the highest tag on the branch + fetch-tags: true - name: Validate branch, compute release tag, and check it does not already exist id: compute-tag uses: linode/apl-gh-actions/actions/release-get-tag@v0.3.0 @@ -61,7 +62,8 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ env.RELEASE_BRANCH }} - fetch-depth: 0 + fetch-depth: 1 + fetch-tags: true token: ${{ secrets.GITHUB_TOKEN }} - name: Configure git identity