Update build-and-release.yml

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

View File

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