Update release.yml

This commit is contained in:
civisrom 2025-02-04 22:51:14 +03:00 committed by GitHub
parent 6ed870e7e8
commit 497b15454e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,7 @@ jobs:
- name: Delete existing asset (if exists)
run: |
gh release delete-asset ${{ github.ref }} x-ui-linux-${{ matrix.platform }}.tar.gz --yes || true
gh release delete-asset v${{ env.VERSION }} x-ui-linux-${{ matrix.platform }}.tar.gz --yes || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -142,7 +142,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
tag: v${{ env.VERSION }}
file: x-ui-linux-${{ matrix.platform }}.tar.gz
asset_name: x-ui-linux-${{ matrix.platform }}.tar.gz
prerelease: true