From 95318553b388a15fbfd79357efae18a31afab56d Mon Sep 17 00:00:00 2001 From: Enrique Lacal Date: Thu, 3 Oct 2024 16:55:06 +0200 Subject: [PATCH] Ignore release candidate tags when determining latest tag for docs Signed-off-by: Enrique Lacal --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7922048bcd..b37a48995e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,7 +26,7 @@ jobs: - name: Get the latest tag run: | git fetch --tags - latest_tag=$(git tag -l | sort -V | tail -n 1) + latest_tag=$(git tag -l | sort -V | grep -v "rc" | tail -n 1) echo "latest tag: $latest_tag" echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV