diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7922048bc..b37a48995 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