mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-07-01 12:32:09 +00:00
Update release.yml
This commit is contained in:
parent
6ed870e7e8
commit
497b15454e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue