Skip to content

Commit

Permalink
Ignore release candidate tags when determining latest tag for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Lacal <[email protected]>
  • Loading branch information
EnriqueL8 committed Oct 3, 2024
1 parent 0540b66 commit 9531855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9531855

Please sign in to comment.