Grab tags instead of releases (#89)

This commit is contained in:
ᡠᠵᡠᡳ ᡠᠵᡠ ᠮᠠᠨᡩ᠋ᠠᠨ authored and GitHub committed 2025-01-05 11:20:34 +08:00
1 parent df181a3065
commit 664c3892e2
1 file changed
+1 -1
+1 -1
View File
@@ -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