Skip to content

Commit

Permalink
CI: Generate source with rev-id file.
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Apr 20, 2024
1 parent bd35100 commit 1e5c59f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
submodules: true
- name: Gen Source
run: |
REV_ID=$(git rev-parse --short HEAD)
mkdir -p hev-socks5-server-${{ github.ref_name }}
git ls-files --recurse-submodules | tar c -O -T- | tar x -C hev-socks5-server-${{ github.ref_name }}
echo ${REV_ID} > hev-socks5-server-${{ github.ref_name }}/.rev-id
tar caf hev-socks5-server-${{ github.ref_name }}.tar.gz hev-socks5-server-${{ github.ref_name }}
- name: Upload source
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 1e5c59f

Please sign in to comment.