From f8a5bc3bba423bb4f88b65792bd9a3ad701fda5f Mon Sep 17 00:00:00 2001 From: Yliu Date: Thu, 2 Nov 2023 21:01:02 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2a976ba..e5ca352 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,6 +45,7 @@ jobs: run: | echo "name=$(jq -r .name package.json)" >> "$GITHUB_ENV" echo "version=$(jq -r .version package.json)" >> "$GITHUB_ENV" + echo "time=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_ENV" - name: Zip dist/index.js run: zip -r dist/index.zip dist/index.js @@ -56,7 +57,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ env.version }} - release_name: ${{ env.name }} v${{ env.version }} + release_name: ${{ env.name }} v${{ env.version }} - ${{env.time}} body: New release draft: false prerelease: false