From 2a4b828010124a93d767308537d0701cc3177789 Mon Sep 17 00:00:00 2001 From: Nabil Hachicha Date: Fri, 8 Mar 2024 11:51:11 +0000 Subject: [PATCH] Fetching all tags for release check (#1680) --- .github/workflows/pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 611f4a4c21..b829a3e7a8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1657,6 +1657,7 @@ jobs: - name: Get Git tag run: | + git fetch --tags gitTag=$(git describe --tags --exact-match HEAD) || echo "NONE" echo "Git branch/tag: ${GITHUB_REF}/${gitTag:-'none'}"