Update release.yml

This commit is contained in:
civisrom 2025-02-04 23:01:47 +03:00 committed by GitHub
parent 497b15454e
commit 107fad0e59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,6 +123,17 @@ jobs:
mv xray xray-linux-${{ matrix.platform }} mv xray xray-linux-${{ matrix.platform }}
cd ../.. cd ../..
- name: Read version from file
id: get_version
run: echo "VERSION=$(cat config/version | tr -d '[:space:]')" >> $GITHUB_ENV
- name: Create Git tag
run: |
git tag v${{ env.VERSION }}
git push origin v${{ env.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Package - name: Package
run: tar -zcvf x-ui-linux-${{ matrix.platform }}.tar.gz x-ui run: tar -zcvf x-ui-linux-${{ matrix.platform }}.tar.gz x-ui