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 Aug 14, 2024
1 parent a9f8599 commit 54417b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
submodules: true
- name: Gen Source
run: |
REV_ID=$(git rev-parse --short HEAD)
mkdir -p hev-socks5-tunnel-${{ github.ref_name }}
git ls-files --recurse-submodules | tar c -O -T- | tar x -C hev-socks5-tunnel-${{ github.ref_name }}
echo ${REV_ID} > hev-socks5-tunnel-${{ github.ref_name }}/.rev-id
tar caf hev-socks5-tunnel-${{ github.ref_name }}.tar.gz hev-socks5-tunnel-${{ github.ref_name }}
- name: Upload source
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 54417b3

Please sign in to comment.