Skip to content

Commit

Permalink
Merge pull request #1588 from hyperledger/fix_docs_workflow
Browse files Browse the repository at this point in the history
Ignore release candidate tags when determining latest tag for docs
  • Loading branch information
peterbroadhurst authored Oct 3, 2024
2 parents 0540b66 + 9531855 commit 1939b67
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 1939b67

Please sign in to comment.