Skip to content

Commit

Permalink
Update upgpkg-v2ray.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhullyb authored Aug 24, 2024
1 parent 17d02f2 commit 9597bbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upgpkg-v2ray.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Export latest v2ray version
run: |
NEW_VERSION=`curl -s https://api.github.com/repos/v2fly/v2ray-core/releases/latest | jq -r '.tag_name' | sed 's/v//g'`
NEW_VERSION=`curl -s https://api.github.com/repos/v2fly/v2ray-core/tags | jq -r .[0].name | sed 's/v//g'`
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
- name: Run rpmdev-bumpspec action
Expand All @@ -47,4 +47,4 @@ jobs:
- name: trigger copr webhook
if: ${{ env.CURRENT_VERSION != env.NEW_VERSION }}
run: |
curl -X POST ${{ secrets.COPR_HOOK_URL }}v2ray/
curl -X POST ${{ secrets.COPR_HOOK_URL }}v2ray/

0 comments on commit 9597bbf

Please sign in to comment.