From e148f6a46e0e84d19ecde348fd015c5016e09e21 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Mon, 7 Oct 2024 11:19:13 +0800 Subject: [PATCH] Update build-and-release.yml --- .github/workflows/build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 7dbb9bc..b845b8a 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -30,7 +30,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} sha: ${{ github.sha }} run: | - gh release create "$tag" \ + gh release create "$(date '+%Y-%m-%d-')${sha:0:7}" \ --repo="$GITHUB_REPOSITORY" \ --title="${GITHUB_REPOSITORY#*/} $(date '+%Y-%m-%d-')${sha:0:7}" \ ./proxy.pac