Skip to content

Commit

Permalink
Grab tags instead of releases (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan authored Jan 5, 2025
1 parent df181a3 commit 664c389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: fetch-release
run: |
EXTERNAL_REPO="XTLS/Xray-core"
LATEST_TAG=$(curl -s https://api.github.com/repos/$EXTERNAL_REPO/releases/latest | jq -r '.tag_name')
LATEST_TAG=$(curl -s https://api.github.com/repos/$EXTERNAL_REPO/tags | jq -r '.[0].name')
echo "Latest tag from external repo: $LATEST_TAG"
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
Expand Down

0 comments on commit 664c389

Please sign in to comment.