Update build-and-release.yml

This commit is contained in:
Chai Feng 2024-10-07 11:19:13 +08:00 committed by GitHub
parent 151447b0e5
commit e148f6a46e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.sha }} sha: ${{ github.sha }}
run: | run: |
gh release create "$tag" \ gh release create "$(date '+%Y-%m-%d-')${sha:0:7}" \
--repo="$GITHUB_REPOSITORY" \ --repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} $(date '+%Y-%m-%d-')${sha:0:7}" \ --title="${GITHUB_REPOSITORY#*/} $(date '+%Y-%m-%d-')${sha:0:7}" \
./proxy.pac ./proxy.pac